Sjabloon:Article form: verschil tussen versies

Uit Auditpedia
Ga naar:navigatie, zoeken
Regel 37: Regel 37:
  
 
<div class="text-right">
 
<div class="text-right">
{{#if:{{{Page|}}} ||{{#widget:Button link
+
{{#widget:Button link
 
|class=btn btn-default
 
|class=btn btn-default
|href=/index.php/Article
+
|href={{#if:{{{Page|}}} |/index.php/{{{Page|}}} |/index.php/Article}}
 
|buttontext={{int: ws-back}}
 
|buttontext={{int: ws-back}}
 
}}
 
}}

Versie van 13 apr 2022 18:48


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

{{Article form 
|Page= < Optional > if empty, a new page is created

"Template:Article" parameters:
|Title=
|Portal= < comma-separated pages > 
|Archived= < Optional: Yes > 
}}