Infobox/Mod – Template
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "Infobox[_ ]mod" to "Infobox/Mod") |
Lou Montana (talk | contribs) m (Standardise template (to be deleted one day?)) |
||
Line 1: | Line 1: | ||
<includeonly>{| style=" | <includeonly>{| style="border: 1px solid #AAA; border-spacing: 0; float: right; font-size: 95%; line-height: 140%; background-color: #FFF; width:286px" | ||
|- | |- | ||
|colspan="2" style=" | | colspan="2" style="background-color: #444; color: #FFF; font-size: 120%; padding: 0.5em; text-align: center" | '''{{{Name|{{PAGENAME}}}}}''' | ||
|- | |- | ||
{{#if: {{{picture|}}}| | {{#if: {{{picture|}}}| | ||
{{!}} colspan="2" style="text-align: center; background-color: #FFFFFF; margin-top: 3px | {{!}} colspan="2" style="text-align: center; background-color: #FFFFFF; margin-top: 3px" {{!}} | ||
[[Image:{{{picture}}}|{{{size|286px}}}|frameless|center]] | |||
}} | |||
|- | |- | ||
{{#if: {{{leader|}}}| | {{#if: {{{leader|}}}| | ||
{{!}} colspan="2" style="line-height:120%; text-align:center; font-size:90%; padding: 5px; background-color: # | {{!}} colspan="2" style="line-height: 120%; text-align:center; font-size:90%; padding: 5px; background-color: #EEE" {{!}} | ||
{{{leader}}} | |||
}} | |||
|- | |- | ||
{{#if: {{{2D|}}}| | {{#if: {{{2D|}}}| | ||
{{!}} style="background-color: # | {{!}} style="background-color: #EEE; border-top: 1px solid #AAA; padding: 0.5em" {{!}} 2D | ||
{{!}} style="background-color: #F6F6F6; border-top:1px solid # | {{!}} style="background-color: #F6F6F6; border-top: 1px solid #AAA; padding: 0.5em" {{!}} {{{2D}}} | ||
}} | |||
|- | |- | ||
{{#if: {{{3D|}}}| | {{#if: {{{3D|}}}| | ||
{{!}} style="background-color: # | {{!}} style="background-color: #EEE; border-top: 1px solid #AAA; padding: 0.5em" {{!}} 3D | ||
{{!}} style="background-color: #F6F6F6; border-top:1px solid # | {{!}} style="background-color: #F6F6F6; border-top: 1px solid #AAA; padding: 0.5em" {{!}} {{{3D}}} | ||
}} | |||
|- | |- | ||
{{#if: {{{script|}}}| | {{#if: {{{script|}}}| | ||
{{!}} style="background-color: # | {{!}} style="background-color: #EEE; border-top: 1px solid #AAA; padding: 0.5em" {{!}} Script | ||
{{!}} style="background-color: #F6F6F6; border-top:1px solid # | {{!}} style="background-color: #F6F6F6; border-top: 1px solid #AAA; padding: 0.5em" {{!}} {{{script}}} | ||
}} | |||
|- | |- | ||
{{#if: {{{code|}}}| | {{#if: {{{code|}}}| | ||
{{!}} style="background-color: # | {{!}} style="background-color: #EEE; border-top: 1px solid #AAA; padding: 0.5em" {{!}} Code | ||
{{!}} style="background-color: #F6F6F6; border-top:1px solid # | {{!}} style="background-color: #F6F6F6; border-top: 1px solid #AAA; padding: 0.5em" {{!}} {{{code}}} | ||
}} | |||
|- | |- | ||
{{#if: {{{island|}}}| | {{#if: {{{island|}}}| | ||
{{!}} style="background-color: # | {{!}} style="background-color: #EEE; border-top: 1px solid #AAA; padding: 0.5em" {{!}} Island | ||
{{!}} style="background-color: #F6F6F6; border-top:1px solid # | {{!}} style="background-color: #F6F6F6; border-top: 1px solid #AAA; padding: 0.5em" {{!}} {{{island}}} | ||
}} | |||
|- | |- | ||
{{#if: {{{missions|}}}| | {{#if: {{{missions|}}}| | ||
{{!}} style="background-color: # | {{!}} style="background-color: #EEE; border-top: 1px solid #AAA; padding: 0.5em" {{!}} Missions | ||
{{!}} style="background-color: #F6F6F6; border-top:1px solid # | {{!}} style="background-color: #F6F6F6; border-top: 1px solid #AAA; padding: 0.5em" {{!}} {{{missions}}} | ||
}} | |||
|- | |- | ||
{{#if: {{{other|}}}| | {{#if: {{{other|}}}| | ||
{{!}} style="background-color: # | {{!}} style="background-color: #EEE; border-top: 1px solid #AAA; padding: 0.5em" {{!}} Other | ||
{{!}} style="background-color: #F6F6F6; border-top:1px solid # | {{!}} style="background-color: #F6F6F6; border-top: 1px solid #AAA; padding: 0.5em" {{!}} {{{other}}} | ||
}} | |||
|- | |- | ||
{{#if: {{{betatest|}}}| | {{#if: {{{betatest|}}}| | ||
{{!}} style="background-color: # | {{!}} style="background-color: #EEE; border-top: 1px solid #AAA; padding: 0.5em" {{!}} Betatest | ||
{{!}} style="background-color: #F6F6F6; border-top:1px solid # | {{!}} style="background-color: #F6F6F6; border-top: 1px solid #AAA; padding: 0.5em" {{!}} {{{betatest}}} | ||
}} | |||
|- | |- | ||
{{#if: {{{external|}}}| | {{#if: {{{external|}}}| | ||
{{!}} style="background-color: # | {{!}} style="background-color: #EEE; border-top: 1px solid #AAA; padding: 0.5em" {{!}} External | ||
{{!}} style="background-color: #F6F6F6; border-top:1px solid # | {{!}} style="background-color: #F6F6F6; border-top: 1px solid #AAA; padding: 0.5em" {{!}} {{{external}}} | ||
}} | |||
|- | |- | ||
{{#if: {{{released|}}}| | {{#if: {{{released|}}}| | ||
{{!}} style="background-color: # | {{!}} style="background-color: #EEE; border-top: 1px solid #AAA; padding: 0.5em" {{!}} Released | ||
{{!}} style="background-color: #F6F6F6; border-top:1px solid # | {{!}} style="background-color: #F6F6F6; border-top: 1px solid #AAA; padding: 0.5em" {{!}} {{{released}}} | ||
}} | |||
|- | |- | ||
{{#if: {{{releasedate|}}}| | {{#if: {{{releasedate|}}}| | ||
{{!}} style="background-color: # | {{!}} style="background-color: #EEE; border-top: 1px solid #AAA; padding: 0.5em" {{!}} Release date | ||
{{!}} style="background-color: #F6F6F6; border-top:1px solid # | {{!}} style="background-color: #F6F6F6; border-top: 1px solid #AAA; padding: 0.5em" {{!}} {{{releasedate}}} | ||
}} | |||
|- | |- | ||
{{#if: {{{version|}}}| | {{#if: {{{version|}}}| | ||
{{!}} style="background-color: # | {{!}} style="background-color: #EEE; border-top: 1px solid #AAA; padding: 0.5em" {{!}} Version | ||
{{!}} style="background-color: #F6F6F6; border-top:1px solid # | {{!}} style="background-color: #F6F6F6; border-top: 1px solid #AAA; padding: 0.5em" {{!}} {{{version}}} | ||
}} | |||
|- | |- | ||
{{#if:{{{ingame|}}} | | {{#if:{{{ingame|}}} | | ||
{{!}} colspan="2" {{!}} [[Image:{{{ingame}}}|rand|center|{{#if:{{{size|}}} | {{{size}}} | 250x200px}}| | {{!}} colspan="2" style="border-top: 1px solid #AAA; font-size: .9em; text-align:center" {{!}} | ||
[[Image:{{{ingame}}}|rand|center|{{#if:{{{size|}}} | {{{size}}} | 250x200px}}|alternativetext=|{{{description}}}]] {{{description}}} | |||
}} | }} | ||
|- | |- | ||
{{#if: {{{web|}}}| | {{#if: {{{web|}}}| | ||
{{!}} style="background-color: # | {{!}} style="background-color: #EEE; border-top: 1px solid #AAA; padding: 0.5em" {{!}} Web | ||
{{!}} style="background-color: #F6F6F6; border-top:1px solid # | {{!}} style="background-color: #F6F6F6; border-top: 1px solid #AAA; padding: 0.5em" {{!}} {{{web}}} | ||
}} | |||
|- | |- | ||
{{#if: {{{link|}}}| | {{#if: {{{link|}}}| | ||
{{!}} style="background-color: # | {{!}} style="background-color: #EEE; border-top: 1px solid #AAA; padding: 0.5em" {{!}} Link | ||
{{!}} style="background-color: #F6F6F6; border-top:1px solid # | {{!}} style="background-color: #F6F6F6; border-top: 1px solid #AAA; padding: 0.5em" {{!}} {{{link}}} | ||
}} | |||
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
== Usage == | == Usage == | ||
See below. | |||
{{Feature|informative|Links in this template have to be without {{=}} symbol (equal). Use {{Template|{{=}}}} in their place: | {{Feature|informative|Links in this template have to be without {{=}} symbol (equal). Use {{Template|{{=}}}} in their place: | ||
<pre>... | <pre>... | ||
Line 100: | Line 96: | ||
|link = http://example.org/query.php?foo{{=}}bar&this{{=}}that | |link = http://example.org/query.php?foo{{=}}bar&this{{=}}that | ||
}}</pre>}} | }}</pre>}} | ||
{| | |||
|- style="background-color: #EEE" | |||
! Code | |||
! Result | |||
|- | |||
| style="padding: 1em" | <pre>{{Infobox/Mod | |||
|picture = Arma 3 logo black.png | |||
|leader = Me | |||
|2D = A guy | |||
|3D = Another guy | |||
|script = Script guy | |||
|code = Code guy | |||
|island = terrain guy | |||
|missions = mission guy | |||
|other = that guy | |||
|betatest = no | |||
|external = maybe | |||
|released = yes | |||
|releasedate = 2001-06-22 | |||
|version = 1.00 | |||
|ingame = arma3 zeus logo.png | |||
|description = Some description | |||
|web = https://www.arma3.com | |||
|link = https://www.arma3.com | |||
}}</pre> | |||
| style="padding: 1em" | {{Infobox/Mod | |||
|picture = Arma 3 logo black.png | |||
|leader = Me | |||
|2D = A guy | |||
|3D = Another guy | |||
|script = Script guy | |||
|code = Code guy | |||
|island = terrain guy | |||
|missions = mission guy | |||
|other = that guy | |||
|betatest = no | |||
|external = maybe | |||
|released = yes | |||
|releasedate = 2001-06-22 | |||
|version = 1.00 | |||
|ingame = arma3 zeus logo.png | |||
|description = Some description | |||
|web = https://www.arma3.com | |||
|link = https://www.arma3.com | |||
}} | |||
|} | |||
[[Category:Templates|{{uc:{{PAGENAME}}}}]]</noinclude> | [[Category:Templates|{{uc:{{PAGENAME}}}}]]</noinclude> |
Revision as of 12:06, 2 June 2021
Usage
See below.
Code | Result | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{Infobox/Mod |picture = Arma 3 logo black.png |leader = Me |2D = A guy |3D = Another guy |script = Script guy |code = Code guy |island = terrain guy |missions = mission guy |other = that guy |betatest = no |external = maybe |released = yes |releasedate = 2001-06-22 |version = 1.00 |ingame = arma3 zeus logo.png |description = Some description |web = https://www.arma3.com |link = https://www.arma3.com }} |
|