Infobox/Mod – Template
Jump to navigation
Jump to search
Fred Gandt (talk | contribs) m (Updated to use MediaWiki parser functions for speed and efficiency + added extra note about handling of = symbols in links) |
Marseille77 (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{| | {| class="float-right toptextcells" style="width:286px; border: 1px solid #AAAAAA; line-height:140%; border-spacing:0; background-color:white; font-size: 95%;" | ||
|- | |||
{{#if:{{{ | |colspan="2" style="text-align: center; background-color: #444444; color: #FFFFFF; padding:3px 5px 4px; font-size: 120%;"| '''{{{Name|{{PAGENAME}}}}}''' | ||
{{#if:{{{ | |- | ||
{{#if:{{{2D|}}}|{{ | {{#if: {{{picture|}}}| | ||
{{#if:{{{ | {{!}} colspan="2" style="text-align: center; background-color: #FFFFFF; margin-top: 3px;" {{!}} [[Datei:{{{picture}}}|{{{size|286px}}}|frameless|center]]}} | ||
{{#if:{{{ | |- | ||
{{#if:{{{ | {{#if: {{{leader|}}}| | ||
{{#if:{{{island|}}}| {{ | {{!}} colspan="2" style="line-height:120%; text-align:center; font-size:90%; padding: 5px; background-color: #E6E6E6;" {{!}} {{{leader}}} }} | ||
{{#if:{{{missions|}}}| {{ | |- | ||
{{#if:{{{other|}}}| {{ | {{#if: {{{2D|}}}| | ||
{{#if:{{{betatest|}}}| {{ | {{!}} style="background-color: #E6E6E6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} 2D | ||
{{#if:{{{external|}}}| {{ | {{!}} style="background-color: #F6F6F6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} {{{2D}}} }} | ||
{{ | |- | ||
{{#if:{{{releasedate|}}}| {{ | {{#if: {{{3D|}}}| | ||
{{#if:{{{version|}}}| {{ | {{!}} style="background-color: #E6E6E6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} 3D | ||
{{#if:{{{ | {{!}} style="background-color: #F6F6F6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} {{{3D}}} }} | ||
{{#if:{{{link|}}}| {{ | |- | ||
|} | {{#if: {{{script|}}}| | ||
{{!}} style="background-color: #E6E6E6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} [[script]] | |||
{{!}} style="background-color: #F6F6F6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} {{{script}}} }} | |||
|- | |||
{{#if: {{{code|}}}| | |||
{{!}} style="background-color: #E6E6E6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} [[code]] | |||
{{!}} style="background-color: #F6F6F6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} {{{code}}} }} | |||
|- | |||
{{#if: {{{island|}}}| | |||
{{!}} style="background-color: #E6E6E6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} [[island]] | |||
{{!}} style="background-color: #F6F6F6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} {{{island}}} }} | |||
|- | |||
{{#if: {{{missions|}}}| | |||
{{!}} style="background-color: #E6E6E6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} [[missions]] | |||
{{!}} style="background-color: #F6F6F6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} {{{missions}}} }} | |||
|- | |||
{{#if: {{{other|}}}| | |||
{{!}} style="background-color: #E6E6E6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} [[other]] | |||
{{!}} style="background-color: #F6F6F6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} {{{other}}} }} | |||
|- | |||
{{#if: {{{betatest|}}}| | |||
{{!}} style="background-color: #E6E6E6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} [[betatest]] | |||
{{!}} style="background-color: #F6F6F6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} {{{betatest}}} }} | |||
|- | |||
{{#if: {{{external|}}}| | |||
{{!}} style="background-color: #E6E6E6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} [[external]] | |||
{{!}} style="background-color: #F6F6F6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} {{{external}}} }} | |||
|- | |||
{{#if: {{{released|}}}| | |||
{{!}} style="background-color: #E6E6E6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} [[released]] | |||
{{!}} style="background-color: #F6F6F6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} {{{released}}} }} | |||
|- | |||
{{#if: {{{releasedate|}}}| | |||
{{!}} style="background-color: #E6E6E6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} [[releasedate]] | |||
{{!}} style="background-color: #F6F6F6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} {{{releasedate}}} }} | |||
|- | |||
{{#if: {{{version|}}}| | |||
{{!}} style="background-color: #E6E6E6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} [[version]] | |||
{{!}} style="background-color: #F6F6F6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} {{{version}}} }} | |||
|- | |||
{{#if: {{{version|}}}| | |||
{{!}} style="background-color: #E6E6E6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} web | |||
{{!}} style="background-color: #F6F6F6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} {{{web}}} }} | |||
|- | |||
{{#if: {{{link|}}}| | |||
{{!}} style="background-color: #E6E6E6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} link | |||
{{!}} style="background-color: #F6F6F6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} {{{link}}} }} | |||
|} | |||
<noinclude> | |||
== Usage == | == Usage == | ||
{| style="background: transparent; border: none;" | {| style="background: transparent; border: none;" | ||
|<pre> | |<pre> | ||
{{Infobox_mod | {{Infobox_mod | ||
| | |picture = | ||
|leader = | |leader = | ||
|2D = | |2D = |
Revision as of 13:53, 5 April 2015
Infobox/Mod |
Usage
{{Infobox_mod |picture = |leader = |2D = |3D = |script = |code = |island = |missions = |other = |betatest = |external = |released = |releasedate = |version = |web = |link = }} |
- Note:
- Links in this template have to be without = symbol (equal). Use {{=}} in their place:
... ... |web = http://example.org |link = http://example.org/query.php?foo{{=}}bar&this{{=}}that }}