Template:Notes: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
(change new style too)
(revert transition stuff; clarify documentation)
Line 1: Line 1:
<includeonly>==Notes==
<includeonly>==Notes==
{{#if:{{{1|}}}|{{#ifeq:{{{1}}}|treasure|===Olimar's Journal===
{{#if:{{{1|}}}|{{#ifeq:{{{1}}}|treasure|===Olimar's Journal===
{{#ifexist:{{notes transition|journal (NPC)|y}}|;[[Nintendo GameCube|GameCube]]:
{{#ifexist:notes:{{PAGENAME}}/journalnpc|;[[Nintendo GameCube|GameCube]]:
"<em>{{ {{notes transition|journal}} }}</em>"
"<em>{{notes:{{PAGENAME}}/journal}}</em>"
;''[[New Play Control!]]'':
;''[[New Play Control!]]'':
"<em>{{ {{notes transition|journal (NPC)}} }}</em>"|"<em>{{ {{notes transition|journal}} }}</em>"}}
"<em>{{notes:{{PAGENAME}}/journalnpc}}</em>"|"<em>{{notes:{{PAGENAME}}/journal}}</em>"}}
===Sales Pitch===
===Sales Pitch===
"<em>{{ {{notes transition|sale}} }}</em>"}}{{#ifeq:{{{1}}}|enemy|{{#ifexist:{{notes transition|reel|y}}|===Reel notes===
"<em>{{notes:{{PAGENAME}}/sale}}</em>"}}{{#ifeq:{{{1}}}|enemy|{{#ifexist:notes:{{PAGENAME}}/reel|===Reel notes===
"<em>{{ {{notes transition|reel}} }}</em>"}}
"<em>{{notes:{{PAGENAME}}/reel}}</em>"}}
{{#ifexist:{{notes transition|olimar|y}}|===Olimar's Notes===
{{#ifexist:notes:{{PAGENAME}}/olimar|===Olimar's Notes===
"<em>{{ {{notes transition|olimar}} }}</em>"
"<em>{{notes:{{PAGENAME}}/olimar}}</em>"
===Louie's Notes===
===Louie's Notes===
"<em>{{ {{notes transition|louie}} }}</em>"}}}}{{#ifeq:{{{1}}}|part|{{ {{notes transition|notes}} }}}}|{{#if:{{{reel|}}}|<h3>Reel notes</h3>
"<em>{{notes:{{PAGENAME}}/louie}}</em>"}}}}{{#ifeq:{{{1}}}|part|{{notes:{{PAGENAME}}/notes}}}}|{{#if:{{{reel|}}}|<h3>Reel notes</h3>
"<em>{{ {{notes transition|reel}} }}</em>"
"<em>{{notes:{{PAGENAME}}/reel}}</em>"
}}{{#if:{{{olimar|}}}|<h3>Olimar's Notes</h3>
}}{{#if:{{{olimar|}}}|<h3>Olimar's Notes</h3>
"<em>{{ {{notes transition|olimar}} }}</em>"
"<em>{{notes:{{PAGENAME}}/olimar}}</em>"
}}{{#if:{{{louie|}}}|<h3>Louie's Notes</h3>
}}{{#if:{{{louie|}}}|<h3>Louie's Notes</h3>
"<em>{{ {{notes transition|louie}} }}</em>"
"<em>{{notes:{{PAGENAME}}/louie}}</em>"
}}{{#if:{{{journal|}}}|<h3>Olimar's Journal</h3>
}}{{#if:{{{journal|}}}|<h3>Olimar's Journal</h3>
{{#if:{{{journalnpc|}}}|;[[Nintendo GameCube|GameCube]]:
{{#if:{{{journalnpc|}}}|;[[Nintendo GameCube|GameCube]]:
"<em>{{ {{notes transition|journal}} }}</em>"
"<em>{{notes:{{PAGENAME}}/journal}}</em>"
;''[[New Play Control!]]'':
;''[[New Play Control!]]'':
"<em>{{ {{notes transition|journalnpc}} }}</em>"
"<em>{{notes:{{PAGENAME}}/journalnpc}}</em>"
|"<em>{{ {{notes transition|journal}} }}</em>"
|"<em>{{notes:{{PAGENAME}}/journal}}</em>"
}}}}{{#if:{{{sale|}}}|<h3>Sales Pitch</h3>
}}}}{{#if:{{{sale|}}}|<h3>Sales Pitch</h3>
"<em>{{ {{notes transition|sale}} }}</em>"
"<em>{{notes:{{PAGENAME}}/sale}}</em>"
}}{{#if:{{{series|}}}|<h3>Ship's announcement</h3>
}}{{#if:{{{series|}}}|<h3>Ship's announcement</h3>
"<em>{{ {{notes transition|series}} }}</em>"
"<em>{{notes:{{PAGENAME}}/series}}</em>"
}}{{#if:{{{voyage|}}}|<h3>Olimar's Voyage Log</h3>
}}{{#if:{{{voyage|}}}|<h3>Olimar's Voyage Log</h3>
"<em>{{ {{notes transition|voyage}} }}</em>"
"<em>{{notes:{{PAGENAME}}/voyage}}</em>"
}}{{#if:{{{monolog|}}}|<h3>Olimar's monologs</h3>
}}{{#if:{{{monolog|}}}|<h3>Olimar's monologs</h3>
"<em>{{ {{notes transition|monolog}} }}</em>"
"<em>{{notes:{{PAGENAME}}/monolog}}</em>"
}}{{#if:{{{ship|}}}|<h3>Ship's dialogs</h3>
}}{{#if:{{{ship|}}}|<h3>Ship's dialogs</h3>
"<em>{{ {{notes transition|ship}} }}</em>"
"<em>{{notes:{{PAGENAME}}/ship}}</em>"
}}}}</includeonly><noinclude>
}}}}</includeonly><noinclude>
==Use==
==Use==
Line 40: Line 40:


===New===
===New===
Pass arguments for each subpage containing transcripted notes, out of the following:
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 58: Line 58:
''<nowiki>{{notes|type}}</nowiki>''
''<nowiki>{{notes|type}}</nowiki>''


Use this on articles to include subpages containing notes.  Subpages for each ''type'' are as follows:
Use this on articles to include subpages of "Notes:''Article name''" containing notes.  Subpages for each ''type'' are as follows:
;treasure:
;treasure:
:*''/journal'' - Olimar's Journal
:*''journal'' - Olimar's Journal
:*''/journal (NPC)'' - Olimar's Journal in ''New Play Control! Pikmin 2'' (if different)
:*''journalnpc'' - Olimar's Journal in ''New Play Control! Pikmin 2'' (if different)
:*''/sale'' - Sales Pitch
:*''sale'' - Sales Pitch
;enemy:
;enemy:
:*''/reel'' - enemy reel notes (''Pikmin'')
:*''reel'' - enemy reel notes (''Pikmin'')
:*''/olimar'' - Olimar's notes (''Pikmin 2'')
:*''olimar'' - Olimar's notes (''Pikmin 2'')
:*''/louie'' - Louie's notes (''Pikmin 2'')
:*''louie'' - Louie's notes (''Pikmin 2'')
;part:
;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>)
:*''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>

Revision as of 11:13, March 16, 2012

Use

This template is used to display the various notes of the game, in a common format.

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:

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

Old

{{notes|type}}

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 (----)