Template:Test: Difference between revisions

From Metroid Wiki
71 bytes removed ,  26 March 2023
no edit summary
No edit summary
No edit summary
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|}}}"|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|}}}}}]]}}}}
{{#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|}}}}}]]}}}}
{{#vardefine:Initial Scan Ref|{{cite|{{{scan}}}| {{#switch: {{{game|}}}|mp1=[[Metroid Prime Logbook#{{{name|}}}|Initial Scan]] "{{{name|}}}"|mph=[[Metroid Prime Hunters Logbook#{{{name|}}}|Initial Scan]] "{{{name|}}}"|mp2=[[Metroid Prime 2: Echoes Logbook#{{{name|}}}|Initial Scan]] "{{{name|}}}"|mp2bonus=[[Metroid Prime 2: Echoes Logbook#|{{{name|}}}-bonus|Initial Scan]] "{{{name|}}}|mp3=[[Metroid Prime 3: Corruption Logbook#{{{name|}}}|Initial Scan]] "{{{name|}}}"|#default=[[Metroid Prime Logbook|Initial scan 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">
{{#vardefine:Scan Ref|{{cite|{{{scan}}}| {{#switch: {{{game|}}}|mp1=[[Metroid Prime Logbook#{{{name|}}}|Scan]] "{{{name|}}}"|mph=[[Metroid Prime Hunters Logbook#{{{name|}}}|Scan]] "{{{name|}}}"|mp2=[[Metroid Prime 2: Echoes Logbook#{{{name|}}}|Scan]] "{{{name|}}}"|mp2bonus=[[Metroid Prime 2: Echoes Logbook#|{{{name|}}}-bonus|Scan]] "{{{name|}}}|mp3=[[Metroid Prime 3: Corruption Logbook#{{{name|}}}|Scan]] "{{{name|}}}"|#default=[[Metroid Prime Logbook|Scan 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="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;">
<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;"
Line 15: Line 15:
| 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}}}} }}" |
{| style="text-align:center; padding:5px; width:100%;"
{| style="text-align:center; padding:5px; width:100%;"
| <i>{{{scan}}}</i>{{#if:{{{ref|}}}{{{position|}}}|{{void}}|<ref name="InitialScan">{{#var:Initial Scan Ref}}</ref>}}
| <i>{{{scan}}}</i>{{#if:{{{ref|}}}{{{position|}}}|{{void}}|<ref name="Scan">{{#var:Scan Ref}}</ref>}}
|-
|-
| <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>}}
rollback
360

edits