Template:Notes: Difference between revisions

that should do it - check whether notes: page exists and use that, else use subpage
m (quick doc change)
(that should do it - check whether notes: page exists and use that, else use subpage)
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:{{FULLPAGENAME}}/journal (NPC)|;[[Nintendo GameCube|GameCube]]:
{{#ifexist:{{notes transition|journal (NPC)}}|;[[Nintendo GameCube|GameCube]]:
"<em>{{/journal}}</em>"
"<em>{{{{notes transition|journal}}}}</em>"
;''[[New Play Control!]]'':
;''[[New Play Control!]]'':
"<em>{{/journal (NPC)}}</em>"|"<em>{{/journal}}</em>"}}
"<em>{{{{notes transition|journal (NPC)}}}}</em>"|"<em>{{{{notes transition|journal}}}}</em>"}}
===Sales Pitch===
===Sales Pitch===
"<em>{{/sale}}</em>"}}{{#ifeq:{{{1}}}|enemy|{{#ifexist:{{PAGENAME}}/reel|===Reel notes===
"<em>{{{{notes transition|sale}}}}</em>"}}{{#ifeq:{{{1}}}|enemy|{{#ifexist:{{notes transition|reel}}|===Reel notes===
"<em>{{/reel}}</em>"}}
"<em>{{{{notes transition|reel}}}}</em>"}}
{{#ifexist:{{PAGENAME}}/olimar|===Olimar's Notes===
{{#ifexist:{{notes transition|olimar}}|===Olimar's Notes===
"<em>{{/olimar}}</em>"
"<em>{{{{notes transition|olimar}}}}</em>"
===Louie's Notes===
===Louie's Notes===
"<em>{{/louie}}</em>"}}}}{{#ifeq:{{{1}}}|part|{{/notes}}}}|{{#if:{{{reel|}}}|<h3>Reel notes</h3>
"<em>{{{{notes transition|louie}}}}</em>"}}}}{{#ifeq:{{{1}}}|part|{{/notes}}}}|{{#if:{{{reel|}}}|<h3>Reel notes</h3>
"<em>{{/reel}}</em>"
"<em>{{/reel}}</em>"
}}{{#if:{{{olimar|}}}|<h3>Olimar's Notes</h3>
}}{{#if:{{{olimar|}}}|<h3>Olimar's Notes</h3>
14,178

edits