Infobox/Mod – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Changed to dynamic version by Hardrock, Planck, Raedor, Str and T D)
m (Some wiki formatting)
 
(31 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{| cellpadding="3" style="width:23em; font-size:0.9em; text-align:left; border:1px solid #ddd; background-color:#f9f9f9; margin:0 0 0.5em 1em; float:right; clear:right; padding:0;"
<includeonly>{| class="wikitable float-right align-left align-center-row-1" style="font-size: 0.95em; line-height: 140%; width: 286px"
! colspan="2" style="font-size:1.1em; text-align: center; background-color: #ccccff;" | ''{{{title}}}''
! colspan="2" style="background-color: #444; color: #FFF; font-size: 120%; padding: 0.5em" | {{{Name|{{PAGENAME}}}}}
{{if defined call|{{{leader|}}}| Infobox mod line | Leader | {{{leader}}} | #ccccff }}
|-
{{if defined call|{{{3D|}}}| Infobox mod line | 3D Arts | {{{3D}}} | #ccccff }}
{{#if: {{{picture|}}}|
{{if defined call|{{{2D|}}}| Infobox mod line | 2D Arts | {{{2D}}} | #ccccff }}
{{!}} colspan="2" style="background-color: #FFF; margin-top: 3px" {{!}}
{{if defined call|{{{script|}}}| Infobox mod line | Scripting | {{{script}}} | #ccccff }}
[[Image:{{{picture}}}|{{{size|286px}}}|frameless|center]]
{{if defined call|{{{code|}}}| Infobox mod line | Coding | {{{code}}} | #ccccff }}
}}
{{if defined call|{{{island|}}}| Infobox mod line | Island Design | {{{island}}} | #ccccff }}
|-
{{if defined call|{{{missions|}}}| Infobox mod line | Mission Design | {{{missions}}} | #ccccff }}
{{#if: {{{leader|}}}|
{{if defined call|{{{other|}}}| Infobox mod line | Other workers | {{{other}}} | #ccccff }}
{{!}} colspan="2" style="line-height: 120%; text-align:center; font-size:90%; padding: 5px; background-color: #EEE" {{!}}
{{if defined call|{{{betatest|}}}| Infobox mod line | Betatesting | {{{betatest}}} | #ccccff }}
{{{leader}}}
{{if defined call|{{{external|}}}| Infobox mod line | External worker(s) | {{{external}}} | #ccccff }}
}}
{{Infobox mod line | Released on | {{{releasedon|Unreleased.}}} | #ddddff }}
|-
{{Infobox mod line | Next release date | {{{releasedate|Unknown.}}} | #ddddff }}
{{#if: {{{2D|}}}|
{{if defined call|{{{version|}}}| Infobox mod line | Latest Version| {{{version}}} | #ddddff }}
! 2D
{{if defined call|{{{web|}}}| Infobox mod line | Website | {{{web}}} | #ddddff }}
{{!}} {{{2D}}}
{{if defined call|{{{link|}}}| Infobox mod line | Download | {{{link}}} | #ddddff }}
}}
|}<noinclude>
|-
{{#if: {{{3D|}}}|
! 3D
{{!}} {{{3D}}}
}}
|-
{{#if: {{{script|}}}|
! Script
{{!}} {{{script}}}
}}
|-
{{#if: {{{code|}}}|
! Code
{{!}} {{{code}}}
}}
|-
{{#if: {{{island|}}}|
! Island
{{!}} {{{island}}}
}}
|-
{{#if: {{{missions|}}}|
! Missions
{{!}} {{{missions}}}
}}
|-
{{#if: {{{other|}}}|
! Other
{{!}} {{{other}}}
}}
|-
{{#if: {{{betatest|}}}|
! Betatest
{{!}} {{{betatest}}}
}}
|-
{{#if: {{{external|}}}|
! External
{{!}} {{{external}}}
}}
|-
{{#if: {{{released|}}}|
! Released
{{!}} {{{released}}}
}}
|-
{{#if: {{{releasedate|}}}|
! Release date
{{!}} {{{releasedate}}}
}}
|-
{{#if: {{{version|}}}|
! 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: {{{web|}}}|
! Web
{{!}} {{{web}}}
}}
|-
{{#if: {{{link|}}}|
! Link
{{!}} {{{link}}}
}}
|}</includeonly><noinclude>
== Usage ==
See below.


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


[[Category:Templates|{{PAGENAME}}]]
[[Category:Templates|{{uc:{{PAGENAME}}}}]]</noinclude>
</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