Template:RecurringElement: Difference between revisions
From Dragon Quest Wiki
FlyingRagnar (talk | contribs) mNo edit summary |
No edit summary |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{{{PAGENAME}}/doc}} | |||
[[Category:Location templates|{{PAGENAME}}]][[Category:Navigation templates|{{PAGENAME}}]] | |||
</noinclude><onlyinclude><includeonly>{{#switch: {{{1}}} | </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%" | | label = {{{!}}cellspacing="0" cellpadding="5" style="background-color:#FFFFFF; margin-bottom: 10px; margin-top:10px; border: solid 1px #80BFFF; width: 50%" | ||
Line 7: | Line 7: | ||
{{!}}''This article represents a [[:Category:Recurring elements|recurring element]] in the Dragon Quest series.'' | {{!}}''This article represents a [[:Category:Recurring elements|recurring element]] in the Dragon Quest series.'' | ||
{{!}}} | {{!}}} | ||
| nav = {{nav|header|RecurringElement|Recurring Elements}} | | nav | ||
{{nav| | | #default = {{nav|header|RecurringElement|Recurring Elements}} | ||
{{nav|section|Characters| | |||
* [[Roto]] | |||
* [[Rubiss]] | |||
{{nav| | }} | ||
{{nav|section|Terms| | |||
* [[ship]] | |||
* [[mini medal]] | |||
* [[World Tree]] | |||
}} | |||
{{nav|footer}}}}[[Category:Recurring elements]]</includeonly></onlyinclude> | {{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}}