Template:RecurringElement: Difference between revisions
From Dragon Quest Wiki
FlyingRagnar (talk | contribs) mNo edit summary |
No edit summary |
||
(16 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
</noinclude><onlyinclude><includeonly>{|cellspacing="0" cellpadding="5" style="background-color:#FFFFFF; margin-bottom: 10px; margin-top:10px; border: solid 1px #80BFFF; width: 50%" | {{{{PAGENAME}}/doc}} | ||
[[Category:Location templates|{{PAGENAME}}]][[Category:Navigation templates|{{PAGENAME}}]] | |||
</noinclude><onlyinclude><includeonly>{{#switch: {{{1}}} | |||
| | | label = {{{!}}cellspacing="0" cellpadding="5" style="background-color:#FFFFFF; margin-bottom: 10px; margin-top:10px; border: solid 1px #80BFFF; width: 50%" | ||
{{nav|header| | {{!}}[[Image:Healer.gif2]] | ||
{{nav| | {{!}}''This article represents a [[:Category:Recurring elements|recurring element]] in the Dragon Quest series.'' | ||
{{!}}} | |||
| nav | |||
{{nav| | | #default = {{nav|header|RecurringElement|Recurring Elements}} | ||
{{nav|section|Characters| | |||
* [[Roto]] | |||
{{nav|footer}} | * [[Rubiss]] | ||
[[Category:Recurring | }} | ||
{{nav|section|Terms| | |||
* [[ship]] | |||
* [[mini medal]] | |||
* [[World Tree]] | |||
}} | |||
{{nav|footer}}}}[[Category:Recurring elements]]</includeonly></onlyinclude> |
Latest revision as of 02:11, 29 August 2018
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[edit]
label[edit]
Calling this template as a label prints out a label box identifying the article as a recuring element.
{{RecurringElement|label}}
- label: A required parameter marking this as a label box.
[edit]
Calling this template as a navigation bar, prints the nav bar on the page.
{{RecurringElement|nav}}
- nav: A required parameter marking this as a nav box.
Example[edit]
Sample[edit]
File:Healer.gif2 | This article represents a recurring element in the Dragon Quest series. |
Code[edit]
{{RecurringElement|label}} {{RecurringElement|nav}}