Template:RecurringElement: Difference between revisions

From Dragon Quest Wiki
Jump to navigation Jump to search
Created page with '<noinclude> See Template:Nav/doc for documentation on this template.<br/> Nav </noinclude><onlyinclude><includeonly>{|cellspacing="0" cellpadding="5" s…'
 
No edit summary
 
(21 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
See [[Template:Nav/doc]] for documentation on this template.<br/>
{{{{PAGENAME}}/doc}}
[[Category:Templates|Nav]]
[[Category:Location templates|{{PAGENAME}}]][[Category:Navigation templates|{{PAGENAME}}]]
</noinclude><onlyinclude><includeonly>{|cellspacing="0" cellpadding="5" style="background-color:#FFFFFF; margin-bottom: 10px; border: solid 1px #80BFFF; width: 50%"
</noinclude><onlyinclude><includeonly>{{#switch: {{{1}}}
|image goes here
| label = {{{!}}cellspacing="0" cellpadding="5" style="background-color:#FFFFFF; margin-bottom: 10px; margin-top:10px; border: solid 1px #80BFFF; width: 50%"
|''This article represents a [[:Category:Recurring terms|recurring term or element]] in the Dragon Quest series.''
{{!}}[[Image:Healer.gif2]]
{{nav|header|RecurringTerm|Recurring Terms}}
{{!}}''This article represents a [[:Category:Recurring elements|recurring element]] in the Dragon Quest series.''
{{nav|subheader|Terms}}
{{!}}}
{{nav|item|[[ship]]|nospacer=true}}
| nav
{{nav|item|[[mini medal]]}}
| #default = {{nav|header|RecurringElement|Recurring Elements}}
{{nav|item|[[world tree]]}}
{{nav|section|Characters|
{{nav|item|[[Rubiss]]}}
* [[Roto]]
{{nav|item|[[Roto]]}}
* [[Rubiss]]
{{nav|footer}}
}}
[[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 source]

label[edit source]

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 source]

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 source]

Sample[edit source]

File:Healer.gif2 This article represents a recurring element in the Dragon Quest series.

Code[edit source]

{{RecurringElement|label}}
{{RecurringElement|nav}}