|
|
Regel 1: |
Regel 1: |
− | <noinclude>{{Managed
| + | {{Page title |
− | |Version=1.0 | + | |Title= |
− | |Version notes=1.0 - First managed version | + | |Displaytitle=AUDITPEDIA |
− | |Short description=Template for Article pages
| |
| }} | | }} |
− | | + | <div class="col-md-4" style="margin:auto;">{{#widget:Searchbar}}</div> |
− | This is the '''Article''' template. It should be called in the following format:
| + | <div class="col-md-5" style="padding-top:40px;padding-bottom:40px;margin:auto;text-align:center;color: #2c446a;">Welkom bij Auditpedia, de eerste encyclopedie gewijd aan accountancy! |
− | | + | <br>Aanmelden nu en help een artikel te verbeteren of maak er een aan die nodig is.</div> |
− | <pre>
| + | {{Portals overview card |
− | {{Article | + | |Card title={{int: ws-portals}} |
− | |Title=
| |
− | |Short description=
| |
− | |Main image=
| |
− | |Description=
| |
− | |External links= | |
− | |Belongs to portal=
| |
| }} | | }} |
− | </pre>
| + | {{Featured article |
− | | |
− | </noinclude><includeonly>__NOTITLE__<!--
| |
− | | |
− | -->{{#set:Class=Article
| |
− | |Title={{{Title|}}}
| |
− | |Short description={{{Short description|}}}
| |
− | |Main image={{{Main image|}}}
| |
− | |Description={{{Description|}}}
| |
− | |External links={{{External links|}}}
| |
− | |Belongs to portal={{{Belongs to portal|}}}
| |
− | }}<!--
| |
− | | |
− | --><div class="row">
| |
− | <div class="col">
| |
− | {{Page title
| |
− | |Title={{{Title|}}}
| |
| }} | | }} |
− |
| |
− | <div class="tab-content">
| |
− | <div class="tab-pane active" id="description-view-tab">
| |
− | {{Section title |Title= |Formlink new={{#widget:Button link |href=#description-form-tab |datatoggle=tab |class=btn btn-default |buttontext=Edit }} }}<!-- end Section title -->
| |
− | {{{Short description|}}}
| |
− | {{{Main image|}}}
| |
− | {{{Description|}}}<br>
| |
− | {{#if: {{{External links|}}}
| |
− | | <div class="external-links">External links: {{{External links|}}}</div>
| |
− | | }}
| |
− | {{#if: {{{Belongs to portal|}}}
| |
− | | <div class="portal-show">Portal: [[{{{Belongs to portal|}}}]]</div>
| |
− | | }}</div>
| |
− | <div class="tab-pane" id="description-form-tab">
| |
− | {{Section title |Title= |Formlink new={{#widget:Button link |href=#description-view-tab |datatoggle=tab |class=btn btn-default |buttontext=Back }} }}<!-- end Section title -->
| |
− | <wsform action="addToWiki" enctype="multipart/form-data">
| |
− |
| |
− | <wsedit target="{{PAGEID}}" template="Article" formfield="Short description" />
| |
− | <wslabel>Introduction paragraph:</wslabel>
| |
− | <wsfield type="textarea" rows="4" class="form-control" name="Short description" >{{{Short description|}}}</wsfield><br>
| |
− |
| |
− | <wsedit target="{{PAGEID}}" template="Article" formfield="Main image" />
| |
− | <wslabel for="testing" class="btn btn-default">{{Fa|upload}} Find a file</wslabel>
| |
− | <wsfield verbose_id="preview123" type="file" id="testing" name="testing" target="Example.png" pagecontent="Testing just testing." use_label="true" multiple="multiple" />
| |
− | <wsfield type="submit" value="Upload" class="btn btn-success" /><br>
| |
− |
| |
− | <wsedit target="{{PAGEID}}" template="Article" formfield="Description" />
| |
− | <wslabel>Content:</wslabel>
| |
− | <wsfield type="textarea" name="Description" class="tinymce" >{{{Description|}}}</wsfield><br>
| |
− |
| |
− | <wsedit target="{{PAGEID}}" template="Article" formfield="External links" />
| |
− | <wslabel>External links:</wslabel>
| |
− | <wsfield type="textarea" rows="5" class="form-control" name="External links" placeholder="* Fill in your external links in a bullet list" value="{{{External links|}}}" >{{#widget:Plain |text={{{External links|}}}}}</wsfield><br>
| |
− |
| |
− | <wsedit target="{{PAGEID}}" template="Article" formfield="Belongs to portal" />
| |
− | <wslabel>Belongs to portal:</wslabel>
| |
− | <wsfield type="textarea" rows="1" class="form-control" name="Belongs to portal" >{{{Belongs to portal|}}}</wsfield>
| |
− |
| |
− |
| |
− | <div class="text-right mt-3">{{#widget:Button link |href=#description-view-tab |datatoggle=tab |class=btn btn-default |buttontext=Back }}
| |
− | <wsfield type="submit" class="btn btn-primary" value="Save" /></div>
| |
− | </wsform>
| |
− | </div>
| |
− | </div>
| |
− | </div>
| |
− | </div><!-- end of .col-md-4 and .row
| |
− |
| |
− | --></includeonly>
| |