Sjabloon:Article: verschil tussen versies

Uit Auditpedia
Ga naar:navigatie, zoeken
 
(452 tussenliggende versies door 2 gebruikers niet weergegeven)
Regel 1: Regel 1:
<includeonly>__NOTITLE__<!--
+
<noinclude>{{Managed
 +
|Version=1.0
 +
|Version notes=1.0 - First managed version
 +
|Short description=Template for Article pages
 +
}}
 +
 
 +
This is the '''Article''' template. It should be called in the following format:
 +
 
 +
<pre>
 +
{{Article
 +
|Title=
 +
|Short description=
 +
|Description=
 +
|External links=
 +
|Author article= < comma-separated pages >
 +
|Portal= < comma-separated pages >
 +
|Subportal= < comma-separated pages >
 +
|Has special date=
 +
|Special date= A day in the year which is special for this article
 +
|Special date description= The description of what happened on this date
 +
|Locked= < yes / no >
 +
}} 
 +
</pre>
 +
 
 +
</noinclude><includeonly>__NOTITLE__<!--
  
 
-->{{#set:Class=Article
 
-->{{#set:Class=Article
 
|Title={{{Title|}}}
 
|Title={{{Title|}}}
|Belongs to portal={{{Belongs to portal|}}}
+
|Featured={{{Featured|False}}}
|Archived= {{#ifeq:{{{Archived|}}} |Yes |true |false}}
+
|Short description={{{Short description|}}}
}}<!--
+
|Description={{{Description|}}}
 +
|External links={{{External links|}}}
 +
|Portal={{{Portal|}}} |+sep=,
 +
|Subportal={{{Subportal|}}} |+sep=,,
 +
|Author article={{{Author article|}}} |+sep=,
 +
|Has special date={{#if:{{{Special date|}}} |Yes |No}}
 +
|Special date={{{Special date|}}}
 +
|Special date description={{{Special date description|}}}
 +
|Locked={{{Locked|False}}}
 +
}}
 +
<!--
 +
-->{{#tool: get params|{{pageid:{{FULLPAGENAME}}}}|$desc}}<!--
 +
-->{{#vardefine:@content |{{#caprint:$desc[Article][Description]||noparse,nowiki}}}}<!--
  
##################################
 
###      Article body        ###
 
##################################
 
 
--><div class="row">
 
--><div class="row">
 
<div class="col">
 
<div class="col">
 
{{Page title
 
{{Page title
 
|Title={{{Title|}}}
 
|Title={{{Title|}}}
 +
|Formlink new={{#ifsysop: {{Lock article}} }}<!--
 +
-->{{#ifeq: {{{Locked|}}} |True ||{{#widget:Link
 +
    |type=a
 +
    |href={{fullurl:Edit article|id={{PAGEID}}&return={{FULLPAGENAME}} }}
 +
    |class=btn btn-primary
 +
    |text={{Fa|edit}} {{int: ws-edit}}
 +
}} }}
 
}}
 
}}
</div>__TOC__
+
<div class="tab-content">
</div><!--
+
<div class="tab-pane active" id="description-view-tab"><!--
 +
 
 +
-->{{#if: {{{Short description|}}}
 +
|<div class="row">
 +
<div class="col-lg-9 short-description">
 +
{{{Short description|}}}
 +
</div>
 +
</div>
 +
|}}
 +
<div class="row">
 +
<div class="col-lg-9">
 +
{{{Description|}}}
 +
</div>
 +
</div>
 +
<div class="row">{{#if: {{{External links|}}}
 +
| <div class="col-lg-9 pb-3"><h2>{{ucfirst:{{int: ws-external-links}} }}</h2>
 +
{{{External links|}}}</div>
 +
| }}
 +
</div>
 +
<div class="row">{{#if: {{{Special date|}}}
 +
| <div class="col-lg-9"><h2>{{ucfirst:{{int: ws-special date}} }}</h2>
 +
{{#time:d F|{{{Special date|}}}|nl}}<br>
 +
{{{Special date description|}}}</div>
 +
| }}
 +
</div>
 +
<div class="text-right">
 +
{{Show history}}
 +
</div>
 +
<div class="row">{{#if: {{{Portal|}}}
 +
| <div class="col-12 m-3 p-3 portal-show">{{ucfirst: {{int: ws-portal}} }}: {{#caamap:{{{Portal|}}}|,|x|[[x]]}}</div>
 +
| }}{{#if: {{{Subportal|}}}
 +
| <div class="col-12 m-3 p-3 portal-show">{{ucfirst: {{int: ws-subportal}} }}: {{#caamap:{{{Subportal|}}}|,,|x|[[x]]}}</div>
 +
| }}
 +
</div>
 +
 
 +
</div>
 +
</div>
 +
</div>
 +
</div>
  
--></includeonly>
+
</includeonly>

Huidige versie van 23 apr 2022 om 15:52


This is the Article template. It should be called in the following format:

{{Article
|Title=
|Short description=
|Description=
|External links=
|Author article= < comma-separated pages > 
|Portal= < comma-separated pages > 
|Subportal= < comma-separated pages > 
|Has special date=
|Special date= A day in the year which is special for this article
|Special date description= The description of what happened on this date
|Locked= < yes / no >
}}