Infobox/Mod – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Some wiki formatting)
 
(14 intermediate revisions by 2 users not shown)
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%;"
<includeonly>{| class="wikitable float-right align-left align-center-row-1" style="font-size: 0.95em; line-height: 140%; width: 286px"
|-
! colspan="2" style="background-color: #444; color: #FFF; font-size: 120%; padding: 0.5em" | {{{Name|{{PAGENAME}}}}}
|colspan="2" style="text-align: center; background-color: #444444; color: #FFFFFF; padding:3px 5px 4px; font-size: 120%;"| '''{{{Name|{{PAGENAME}}}}}'''
|-
|-
{{#if: {{{picture|}}}|
{{#if: {{{picture|}}}|
{{!}} colspan="2" style="text-align: center; background-color: #FFFFFF; margin-top: 3px;" {{!}} [[Datei:{{{picture}}}|{{{size|286px}}}|frameless|center]]}}
{{!}} colspan="2" style="background-color: #FFF; 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: #E6E6E6;" {{!}} {{{leader}}} }}
{{!}} 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: #E6E6E6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} 2D
! 2D
{{!}} style="background-color: #F6F6F6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} {{{2D}}} }}
{{!}} {{{2D}}}
}}
|-
|-
{{#if: {{{3D|}}}|
{{#if: {{{3D|}}}|
{{!}} style="background-color: #E6E6E6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} 3D
! 3D
{{!}} style="background-color: #F6F6F6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} {{{3D}}} }}
{{!}} {{{3D}}}
}}
|-
|-
{{#if: {{{script|}}}|
{{#if: {{{script|}}}|
{{!}} style="background-color: #E6E6E6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} [[script]]
! Script
{{!}} style="background-color: #F6F6F6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} {{{script}}} }}
{{!}} {{{script}}}
}}
|-
|-
{{#if: {{{code|}}}|
{{#if: {{{code|}}}|
{{!}} style="background-color: #E6E6E6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} [[code]]
! Code
{{!}} style="background-color: #F6F6F6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} {{{code}}} }}
{{!}} {{{code}}}
}}
|-
|-
{{#if: {{{island|}}}|
{{#if: {{{island|}}}|
{{!}} style="background-color: #E6E6E6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} [[island]]
! Island
{{!}} style="background-color: #F6F6F6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} {{{island}}} }}
{{!}} {{{island}}}
}}
|-
|-
{{#if: {{{missions|}}}|
{{#if: {{{missions|}}}|
{{!}} style="background-color: #E6E6E6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} [[missions]]
! Missions
{{!}} style="background-color: #F6F6F6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} {{{missions}}} }}
{{!}} {{{missions}}}
}}
|-
|-
{{#if: {{{other|}}}|
{{#if: {{{other|}}}|
{{!}} style="background-color: #E6E6E6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} [[other]]
! Other
{{!}} style="background-color: #F6F6F6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} {{{other}}} }}
{{!}} {{{other}}}
}}
|-
|-
{{#if: {{{betatest|}}}|
{{#if: {{{betatest|}}}|
{{!}} style="background-color: #E6E6E6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} [[betatest]]
! Betatest
{{!}} style="background-color: #F6F6F6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} {{{betatest}}} }}
{{!}} {{{betatest}}}
}}
|-
|-
{{#if: {{{external|}}}|
{{#if: {{{external|}}}|
{{!}} style="background-color: #E6E6E6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} [[external]]
! External
{{!}} style="background-color: #F6F6F6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} {{{external}}} }}
{{!}} {{{external}}}
}}
|-
|-
{{#if: {{{released|}}}|
{{#if: {{{released|}}}|
{{!}} style="background-color: #E6E6E6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} [[released]]
! Released
{{!}} style="background-color: #F6F6F6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} {{{released}}} }}
{{!}} {{{released}}}
}}
|-
|-
{{#if: {{{releasedate|}}}|
{{#if: {{{releasedate|}}}|
{{!}} style="background-color: #E6E6E6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} [[releasedate]]
! Release date
{{!}} style="background-color: #F6F6F6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} {{{releasedate}}} }}
{{!}} {{{releasedate}}}
}}
|-
|-
{{#if: {{{version|}}}|
{{#if: {{{version|}}}|
{{!}} style="background-color: #E6E6E6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} [[version]]
! Version
{{!}} style="background-color: #F6F6F6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} {{{version}}} }}
{{!}} {{{version}}}
}}
|-
{{#if:{{{ingame|}}} |
{{!}} colspan="2" style="font-size: 0.9em; text-align: center" {{!}}
[[File:{{{ingame}}}|rand|center|{{#if:{{{size|}}} | {{{size}}} | 250x200px}}|alternativetext=|{{{description}}}]] {{{description}}}
}}
|-
|-
{{#if: {{{version|}}}|
{{#if: {{{web|}}}|
{{!}} style="background-color: #E6E6E6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} web
! Web
{{!}} style="background-color: #F6F6F6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} {{{web}}} }}
{{!}} {{{web}}}
}}
|-
|-
{{#if: {{{link|}}}|
{{#if: {{{link|}}}|
{{!}} style="background-color: #E6E6E6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} link
! Link
{{!}} style="background-color: #F6F6F6; border-top:1px solid #AAAAAA; padding:3px 5px 4px;" {{!}} {{{link}}} }}
{{!}} {{{link}}}
|}
}}
|}</includeonly><noinclude>
== Usage ==
See below.
 
{|
|- style="background-color: #EEE"
! Code
! Result
|- style="vertical-align: top"
| 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?equalSignTest=true
}}</pre>


<noinclude>
| style="padding: 1em" | {{Infobox/Mod
== Usage ==
|picture= Arma 3 logo black.png
{| style="background: transparent; border: none;"
|leader= Me
|<pre>
|2D= A guy
{{Infobox_mod
|3D= Another guy
|picture =  
|script= Script guy
|leader =  
|code= Code guy
|2D =  
|island= terrain guy
|3D =  
|missions= mission guy
|script =  
|other= that guy
|code =  
|betatest= no
|island =  
|external= maybe
|missions =  
|released= yes
|other =  
|releasedate= 2001-06-22
|betatest =  
|version= 1.00
|external =  
|ingame= arma3 zeus logo.png
|released =
|description= Some description
|releasedate =  
|web= https://www.arma3.com
|version =  
|link= https://www.arma3.com?equalSignTest=true
|web =  
|link =  
}}
}}
</pre>
 
|}
|}


<dl>
[[Category:Templates|{{uc:{{PAGENAME}}}}]]</noinclude>
<dt>Note:</dt>
<dd>Links in this template have to be without = symbol (equal). Use {{Template|{{=}}}} in their place:
<pre>...
...
|web = http://example.org
|link = http://example.org/query.php?foo{{=}}bar&this{{=}}that
}}</pre></dd>
</dl>
 
{{Important|Please do not try usage of infobox in this page, do it in you sandbox or in your squad article.}}
[[Category:Templates|INFOBOX MOD]]
</noinclude>

Latest revision as of 19:04, 7 April 2024

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?equalSignTest=true
}}
Infobox/Mod
Arma 3 logo black.png

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
Release date 2001-06-22
Version 1.00
Some description
Some description
Web https://www.arma3.com
Link https://www.arma3.com?equalSignTest=true