Navigation menu

Template:Logbook: Difference between revisions

From Metroid Wiki
m (ref name thing will work out much better in the end ;))
mNo edit summary
Line 1: Line 1:
<div class="NavFrame" valign="top" align="left" style="{{round|20px}} {{background|neutral}} {{border|2}}; width:55%; padding:5px">
{{#vardefine:cite|{{cite|{{{entry}}}|Logbook|{{#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="{{round|20px}} {{background|neutral}} {{border|2}}; width:55%; padding:5px">
<div class="NavHead" style="{{round}} {{background}} {{border}}; width:100%;">Logbook</div>
<div class="NavHead" style="{{round}} {{background}} {{border}}; width:100%;">[[Logbook]] entry from {{#switch: {{{game|}}}|mp|mp1={{mp1}} |mph={{mph}}|mp2={{mp2}}|mp3={{mp3}}|#default={{void}}}}: '''''{{{name}}}'''''</div>
<div class="NavContent" style="padding:0px; width:100%">
<div class="NavContent" style="padding:0px; width:100%">
{| style="padding:0px; width:100%; margin-top:5px"
{| style="padding:0px; width:100%; margin-top:5px"
| colspan="2" style="text-align:left; padding-left:10%" | '''First Location:''' [[{{{location}}}]]
| colspan="2" style="text-align:left; padding-left:10%" | '''First Location:''' [[{{{location}}}]]
| | '''Scan Availability:''' {{{availability}}}
| | '''Scan Availability:''' <span class="explain" title="One-time Scan">[[File:Metroid Icon.png|link=]] [[File:Metroid Icon.png|link=]] [[File:Metroid Icon.png|link=]] [[File:Metroid Icon.png|link=]] [[File:Metroid Icon.png|link=]]</span>
|-
|-
|
|
Line 12: Line 12:
|
|
{| align="center" style="padding:0px; width:60%"
{| align="center" style="padding:0px; width:60%"
| {{{entry}}}{{#switch: {{{ref}}} <ref {{#if: {{{ref|}}} | name="{{{ref|}}}" | name="logbook" }} >{{#var:cite</ref> }}
| {{{entry}}}{{#switch: {{{ref}}} |no|none|No|None|clear=&nbsp; |#default= <ref {{#if: {{{ref|}}} | name="{{{ref|}}}" | name="logbook" }} >{{#var:cite}}</ref> }}
|}
|}
|
|
Line 70: Line 70:
}}
}}
</pre>
</pre>
{{ref}}
[[Category:Logbook Templates|{{PAGENAME}}]]</noinclude>
[[Category:Logbook Templates|{{PAGENAME}}]]</noinclude>

Revision as of 20:11, 5 March 2011


Usage

This template allows us to display the logbook entries for various enemies and objects in the Metroid Prime games.

  • Name: Entry Name (e.g. "Beetle" for Beetle's Logbook entry)
  • Entrytext: Text that appears in the game's logbook. Follow this with the Cite template (ie. "Entrytext"<ref>{{cite|"Entrytext"|Logbook|"game"}}</ref>)
  • Game: Abbreviation for game (see below)
  • Image: The image displayed, if more than one image appear, place the image that appears to the right in this slot
  • Imageleft: The image that appears to the left, if there is none, don't insert anything
  • Clear: Place "noclear" here if no clear should be used (don't worry about this)
  • Roundtype: The type of roundness used in the overall box (don't worry about this either)

The entry must be cited and should appear as

For the game input, a particular 2-3 character code should be written, found here:


Blank code (paste onto page):

{{logbook
|name=
|entrytext=
|gameabbrev=
|image=
|imageleft=
|location=
|availability=
}}

References

  1. "{{{entry}}}" —Logbook (Metroid Prime)