Template:Notes: Difference between revisions

remove old stuff
(revert transition stuff; clarify documentation)
(remove old stuff)
Line 1: Line 1:
<includeonly>==Notes==
<includeonly>==Notes==
{{#if:{{{1|}}}|{{#ifeq:{{{1}}}|treasure|===Olimar's Journal===
{{#if:{{{reel|}}}|<h3>Reel notes</h3>
{{#ifexist:notes:{{PAGENAME}}/journalnpc|;[[Nintendo GameCube|GameCube]]:
"<em>{{notes:{{PAGENAME}}/journal}}</em>"
;''[[New Play Control!]]'':
"<em>{{notes:{{PAGENAME}}/journalnpc}}</em>"|"<em>{{notes:{{PAGENAME}}/journal}}</em>"}}
===Sales Pitch===
"<em>{{notes:{{PAGENAME}}/sale}}</em>"}}{{#ifeq:{{{1}}}|enemy|{{#ifexist:notes:{{PAGENAME}}/reel|===Reel notes===
"<em>{{notes:{{PAGENAME}}/reel}}</em>"}}
{{#ifexist:notes:{{PAGENAME}}/olimar|===Olimar's Notes===
"<em>{{notes:{{PAGENAME}}/olimar}}</em>"
===Louie's Notes===
"<em>{{notes:{{PAGENAME}}/louie}}</em>"}}}}{{#ifeq:{{{1}}}|part|{{notes:{{PAGENAME}}/notes}}}}|{{#if:{{{reel|}}}|<h3>Reel notes</h3>
"<em>{{notes:{{PAGENAME}}/reel}}</em>"
"<em>{{notes:{{PAGENAME}}/reel}}</em>"
}}{{#if:{{{olimar|}}}|<h3>Olimar's Notes</h3>
}}{{#if:{{{olimar|}}}|<h3>Olimar's Notes</h3>
Line 33: 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.
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:
 
The use of this template is changing; old-style uses need to be changed to new-style uses.
 
===New===
Pass arguments for each subpage of "Notes:''Article name''" containing transcripted notes, out of the following:


*''reel'': ''Pikmin'' [[enemy reel]] notes
*''reel'': ''Pikmin'' [[enemy reel]] notes
Line 54: 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>''
===Old===
''<nowiki>{{notes|type}}</nowiki>''
Use this on articles to include subpages of "Notes:''Article name''" containing notes.  Subpages for each ''type'' are as follows:
;treasure:
:*''journal'' - Olimar's Journal
:*''journalnpc'' - Olimar's Journal in ''New Play Control! Pikmin 2'' (if different)
:*''sale'' - Sales Pitch
;enemy:
:*''reel'' - enemy reel notes (''Pikmin'')
:*''olimar'' - Olimar's notes (''Pikmin 2'')
:*''louie'' - Louie's notes (''Pikmin 2'')
;part:
:*''notes'' - Olimar's notes on ship parts; those on discovering the part come first, then those on collecting it after a horizontal rule (<nowiki>----</nowiki>)


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

edits