Template:RecurringElement: Difference between revisions

From Dragon Quest Wiki
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}}
|image goes here
[[Category:Location templates|{{PAGENAME}}]][[Category:Navigation templates|{{PAGENAME}}]]
|''This article represents a [[:Category:Recurring terms|recurring term or element]] in the Dragon Quest series.''
</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|RecurringTerm|Category:Recurring terms}}
{{!}}[[Image:Healer.gif2]]
{{nav|subheader|Terms}}
{{!}}''This article represents a [[:Category:Recurring elements|recurring element]] in the Dragon Quest series.''
{{nav|item|[[ship]]|nospacer=true}}
{{!}}}
{{nav|item|[[mini medal]]}}
| nav
{{nav|item|[[world tree]]}}
| #default = {{nav|header|RecurringElement|Recurring Elements}}
{{nav|item|[[Rubiss]]}}
{{nav|section|Characters|
{{nav|item|[[Roto]]}}
* [[Roto]]
{{nav|footer}}
* [[Rubiss]]
[[Category:Recurring terms]]</includeonly></onlyinclude>
}}
{{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.

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