Sjabloon:Article: verschil tussen versies

Uit Auditpedia
Ga naar:navigatie, zoeken
 
(5 tussenliggende versies door dezelfde gebruiker niet weergegeven)
Regel 25: Regel 25:
 
</noinclude><includeonly>__NOTITLE__<!--
 
</noinclude><includeonly>__NOTITLE__<!--
  
-->{{#set:Class=Article, Subportal|+sep=,
+
-->{{#set:Class=Article
 
|Title={{{Title|}}}
 
|Title={{{Title|}}}
 
|Featured={{{Featured|False}}}
 
|Featured={{{Featured|False}}}
Regel 32: Regel 32:
 
|External links={{{External links|}}}
 
|External links={{{External links|}}}
 
|Portal={{{Portal|}}} |+sep=,
 
|Portal={{{Portal|}}} |+sep=,
|Subportal={{{Subportal|}}} |+sep=,
+
|Subportal={{{Subportal|}}} |+sep=,,
 
|Author article={{{Author article|}}} |+sep=,
 
|Author article={{{Author article|}}} |+sep=,
 
|Has special date={{#if:{{{Special date|}}} |Yes |No}}
 
|Has special date={{#if:{{{Special date|}}} |Yes |No}}
Regel 51: Regel 51:
 
     |type=a
 
     |type=a
 
     |href={{fullurl:Edit article|id={{PAGEID}}&return={{FULLPAGENAME}} }}
 
     |href={{fullurl:Edit article|id={{PAGEID}}&return={{FULLPAGENAME}} }}
     |class=btn btn-default
+
     |class=btn btn-primary
 
     |text={{Fa|edit}} {{int: ws-edit}}  
 
     |text={{Fa|edit}} {{int: ws-edit}}  
 
}} }}
 
}} }}
Regel 85: Regel 85:
 
</div>
 
</div>
 
<div class="row">{{#if: {{{Portal|}}}  
 
<div class="row">{{#if: {{{Portal|}}}  
| <div class="col m-3 p-3 portal-show">{{ucfirst: {{int: ws-portal}} }}: {{#caamap:{{{Portal|}}}|,|x|[[x]]}}</div>
+
| <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>

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 >
}}