Template:Logbook: Difference between revisions

From Metroid Wiki
m
cleanup
m (Cleaned up usage)
m (cleanup)
 
(13 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{#vardefine:Logbook Ref|{{cite|{{{entry}}}| {{#switch: {{{game|}}}|mp1=[[Metroid Prime Logbook#{{{name|}}}|Logbook]] "{{{name|}}}"|mph=[[Metroid Prime Hunters Logbook#{{{name|}}}|Logbook]] "{{{name|}}}"|mp2=[[Metroid Prime 2: Echoes Logbook#{{{name|}}}|Logbook]] "{{{name|}}}"|mp3=[[Metroid Prime 3: Corruption Logbook#{{{name|}}}|Logbook]] "{{{name|}}}"|#default=[[Metroid Prime Logbook|Logbook entry]]}} | {{#switch: {{{game|}}}|mp1=[[Metroid Prime (game)|Metroid Prime]]|mph=[[Metroid Prime Hunters]]|mp2=[[Metroid Prime 2: Echoes]]|mp3=[[Metroid Prime 3: Corruption]]|#default=[[Metroid Prime (game)|Metroid Prime]]}} }}}}<div class="NavFrame" valign="top" align="left" style="{{#switch:{{lc:{{{position|}}}}}|1|1st|first|one|top={{roundt}}|2|2nd|center|middle|mid={{round|0px}}|3|3rd|last|bottom={{roundb}}|{{round}}}} {{background|neutral}} {{border|2}}; width:60%; padding:3px; margin:0px">
{{#vardefine:Logbook Ref|{{cite|{{{entry}}}| {{#switch: {{{game|}}}|mp1=[[Metroid Prime Logbook#{{{name|}}}|Logbook]] "{{{name|}}}"|mph=[[Metroid Prime Hunters Logbook#{{{name|}}}|Logbook]] "{{{name|}}}"|mp2=[[Metroid Prime 2: Echoes Logbook#{{{name|}}}|Logbook]] "{{{name|}}}"|mp2bonus=[[Metroid Prime 2: Echoes Logbook#|{{{name|}}}-bonus|Logbook]] "{{{name|}}}|mp3=[[Metroid Prime 3: Corruption Logbook#{{{name|}}}|Logbook]] "{{{name|}}}"|#default=[[Metroid Prime Logbook|Logbook entry]]}} |[[{{game-link-key|{{{game|}}}}}|{{game-key|{{{game|}}}}}]]}}}}<div class="mw-collapsible" valign="top" align="left" style="{{#switch:{{lc:{{{position|}}}}}|1|1st|first|one|top={{roundt}}|2|2nd|center|middle|mid={{round|0px}}|3|3rd|last|bottom={{roundb}}|{{round}}}} {{background|neutral}} {{border|2}}; width:60%; padding:3px; margin:0px">
<div class="NavHead" style="{{round}} {{background}} {{border}}; width:100%;">[[Logbook]] entry from {{#switch: {{{game|}}}|mp|mp1={{mp1}} |mph={{mph}}|mp2={{mp2}}|mp3={{mp3}}|#default=a ''[[Metroid Prime (series)|Metroid Prime]]'' game}}: '''''{{{name|{{PAGENAME}}}}}'''''</div><div class="NavContent" style="padding:0px; width:100%; margin:0px; border:0px; display:all">
<div class="mw-collapsible-header" style="border-radius:15px; {{background}} {{border}}; width:98%; padding-left:2%">[[Logbook]] entry from {{#switch: {{{game|}}}|mp|mp1={{mp1-colored}} |mph={{mph-colored}}|mp2={{mp2-colored}}|mp2bonus=<span class="mp2">''[[Metroid Prime 2: Echoes Bonus Disc]]''</span>|mp3={{mp3-colored}}|#default=a ''[[Metroid Prime (series)|Metroid Prime]]'' game}}: '''''{{{name|{{PAGENAME}}}}}'''''</div><div class="mw-collapsible-content" style="padding:0px; width:100%; margin:0px; border:0px;">
{| style="padding:0px; width:100%; border:0px solid; margin:0px;"
{| style="padding:0px; width:100%; border:0px solid; margin:0px;"
{{#if: {{{location|}}} {{{onetime|}}} |
{{#if: {{{location|}}} {{{onetime|}}} |
Line 8: Line 8:
{{#if: {{{imageleft|}}}|
{{#if: {{{imageleft|}}}|
{{!}} colspan="2" width="20%" style="padding:0px; {{background}} {{border}} {{roundl}}" {{!}}
{{!}} colspan="2" width="20%" style="padding:0px; {{background}} {{border}} {{roundl}}" {{!}}
{{{!}} align="center" style="padding:5px; width:100%;"
{{{!}} style="text-align:center; padding:5px; width:100%;"
{{!}} {{{imageleft|}}}
{{!}} {{{imageleft|}}}
{{!}}}
{{!}}}
}}
}}
| colspan="2" {{#if:{{{image|}}} | {{#if:{{{imageleft|}}}| width="60%" | width="80%"}} | width="100%" }} style="padding:0px; {{background}} {{border}} {{#if: {{{image|}}} | {{#if:{{{imageleft|}}}|{{void}}|{{roundl}}}} | {{#if:{{{imageleft|}}}|{{roundr}}|{{round}}}} }}" |
| colspan="2" {{#if:{{{image|}}} | {{#if:{{{imageleft|}}}| width="60%" | width="80%"}} | width="100%" }} style="padding:0px; {{background}} {{border}} {{#if: {{{image|}}} | {{#if:{{{imageleft|}}}|{{void}}|{{roundl}}}} | {{#if:{{{imageleft|}}}|{{roundr}}|{{round}}}} }}" |
{| align="center" style="padding:5px; width:100%;"
{| style="text-align:center; padding:5px; width:100%;"
| <i>{{{entry}}}</i>{{#if:{{{ref|}}}{{{position|}}}|{{void}}|<ref name="Logbook">{{#var:Logbook Ref}}</ref>}}
| <i>{{{entry}}}</i>{{#if:{{{ref|}}}{{{position|}}}|{{void}}|<ref name="Logbook">{{#var:Logbook Ref}}</ref>}}
|}
|}
{{#if: {{{image|}}}|
{{#if: {{{image|}}}|
{{!}} colspan="2" width="20%" style="padding:5px; {{background}} {{border}} {{roundr}}" {{!}}
{{!}} colspan="2" width="20%" style="padding:5px; {{background}} {{border}} {{roundr}}" {{!}}
{{{!}} align="center" style="padding:0px; width:100%;"
{{{!}} style="text-align:center; padding:0px; width:100%;"
{{!}} {{{image|}}}
{{!}} {{{image|}}}
{{!}}}
{{!}}}
}}
}}
|}{{#switch: {{lc:{{{clear|}}}}} |left|right|both|l|r|b= {{clear|{{{clear|left}}}}} |{{clear|left}}}}
|}
</div></div><noinclude>
{{clear|{{{clear|left}}}}}</div></div><noinclude>


==Code==
==Code==
Line 73: Line 73:
**mph - {{mph}}
**mph - {{mph}}
**mp2 - {{mp2}}
**mp2 - {{mp2}}
***mp2bonus - <span class="mp2">''[[Metroid Prime 2: Echoes Bonus Disc]]''</span>
**mp3 - {{mp3}}
**mp3 - {{mp3}}




<span style="display:none"><references /></span>
<span style="display:none"><references /></span>
[[Category:Logbook Templates|{{PAGENAME}}]]</noinclude>
 
[[Category:Logbook Templates]]</noinclude>