Template:RecurringElement/doc: Difference between revisions

m 3 revisions: importing Template namespace from Wikia
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
The RecuringElement template is used to display a label and/or navigation bar on articles which are recuring elements in the Dragon Quest series.  
The RecurringElement template is used to display a label and/or navigation bar on articles which are recuring elements in the Dragon Quest series.  


==Usage==
==Usage==
===label===
===label===
Calling this template as a label prints out a label box identifying the article as a recuring element.
Calling this template as a label prints out a label box identifying the article as a recuring element.
<pre>{{RecuringElement|label}}</pre>
<pre>{{RecurringElement|label}}</pre>
*label: A required parameter marking this as a label box.
*label: A required parameter marking this as a label box.
===nav===
===nav===
Calling this template as a navigation bar, prints the nav bar on the page.
Calling this template as a navigation bar, prints the nav bar on the page.
<pre>{{RecuringElement|nav}}</pre>
<pre>{{RecurringElement|nav}}</pre>
*nav: A required parameter marking this as a nav box.
*nav: A required parameter marking this as a nav box.
==Example==
==Example==
===Sample===
===Sample===
{{RecuringElement|label}}
{{RecurringElement|label}}
{{RecuringElement|nav}}
{{RecurringElement|nav}}
===Code===
===Code===
<pre>
<pre>
{{RecuringElement|label}}
{{RecurringElement|label}}
{{RecuringElement|nav}}
{{RecurringElement|nav}}
</pre>
</pre>