Template:Notes: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
(remove old stuff)
(add alternative use case)
Line 1: Line 1:
<includeonly>==Notes==
<includeonly>{{#if:{{{1|}}}|"<em>{{notes:{{{1}}}/{{{2}}}}}</em>"|==Notes==
{{#if:{{{reel|}}}|<h3>Reel notes</h3>
{{#if:{{{reel|}}}|<h3>Reel notes</h3>
"<em>{{notes:{{PAGENAME}}/reel}}</em>"
"<em>{{notes:{{PAGENAME}}/reel}}</em>"
Line 22: Line 22:
}}{{#if:{{{ship|}}}|<h3>Ship's dialogs</h3>
}}{{#if:{{{ship|}}}|<h3>Ship's dialogs</h3>
"<em>{{notes:{{PAGENAME}}/ship}}</em>"
"<em>{{notes:{{PAGENAME}}/ship}}</em>"
}}</includeonly><noinclude>
}}}}</includeonly><noinclude>
==Use==
==Use==
This template is used to display the various notes of the game, in a common format.  Pass arguments for each subpage of "Notes:''Article name''" containing transcripted notes, out of the following:
This template is used to display the various notes of the game, in a common format.  Pass arguments for each subpage of "Notes:''Article name''" containing transcripted notes, out of the following:
Line 38: Line 38:


where each of these is exactly the same as the name of the subpage.  For example, a typical treasure would have ''<nowiki>{{notes|journal=y|sale=y}}</nowiki>''
where each of these is exactly the same as the name of the subpage.  For example, a typical treasure would have ''<nowiki>{{notes|journal=y|sale=y}}</nowiki>''
Alternatively, to just get one set of formatted notes without any headings, do ''<nowiki>{{notes|page|type}}</nowiki>'', where page is the article the notes are about, and type is one of the subpages listed above.  For example, ''<nowiki>{{notes|Blue Pikmin|voyage}}</nowiki>''.


[[Category:Templates|{{PAGENAME}}]]
[[Category:Templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 11:01, March 29, 2012

Use

This template is used to display the various notes of the game, in a common format. Pass arguments for each subpage of "Notes:Article name" containing transcripted notes, out of the following:

where each of these is exactly the same as the name of the subpage. For example, a typical treasure would have {{notes|journal=y|sale=y}}

Alternatively, to just get one set of formatted notes without any headings, do {{notes|page|type}}, where page is the article the notes are about, and type is one of the subpages listed above. For example, {{notes|Blue Pikmin|voyage}}.