Infobox/Mod – Template
Jump to navigation
Jump to search
No edit summary |
Fred Gandt (talk | contribs) m (Updated to use MediaWiki parser functions for speed and efficiency + added extra note about handling of = symbols in links) |
||
Line 1: | Line 1: | ||
{| cellpadding="3" style="width:23em; font-size:0.9em; text-align:left; border: 1px solid #aaa;; background-color:#f9f9f9; margin:0 0 0.5em 1em; float:right; clear:right; padding:0;border-collapse: collapse;" | {| cellpadding="3" style="width:23em; font-size:0.9em; text-align:left; border: 1px solid #aaa;; background-color:#f9f9f9; margin:0 0 0.5em 1em; float:right; clear:right; padding:0;border-collapse: collapse;" | ||
! colspan="2" style="font-size:1.1em; text-align: center; background-color: #ccccff;border: 1px solid #aaa;" | ''{{{title}}}'' | ! colspan="2" style="font-size:1.1em; text-align: center; background-color: #ccccff;border: 1px solid #aaa;" | ''{{{title}}}'' | ||
{{if | {{#if:{{{leader|}}}| {{Infobox mod line | Leader | {{{leader}}} | #ccccff }}|}} | ||
{{if | {{#if:{{{3D|}}}| {{Infobox mod line | 3D Arts | {{{3D}}} | #ccccff }}|}} | ||
{{if | {{#if:{{{2D|}}}|{{Infobox mod line | 2D Arts | {{{2D}}} | #ccccff }}|}} | ||
{{if | {{#if:{{{script|}}}| {{Infobox mod line | Scripting | {{{script}}} | #ccccff }}|}} | ||
{{if | {{#if:{{{code|}}}| {{Infobox mod line | Coding | {{{code}}} | #ccccff }}|}} | ||
{{if | {{#if:{{{research|}}}| {{Infobox mod line | Research worker(s) | {{{external}}} | #ccccff }}|}} | ||
{{if | {{#if:{{{island|}}}| {{Infobox mod line | Island Design | {{{island}}} | #ccccff }}|}} | ||
{{if | {{#if:{{{missions|}}}| {{Infobox mod line | Mission Design | {{{missions}}} | #ccccff }}|}} | ||
{{if | {{#if:{{{other|}}}| {{Infobox mod line | Other workers | {{{other}}} | #ccccff }}|}} | ||
{{if | {{#if:{{{betatest|}}}| {{Infobox mod line | Betatesting | {{{betatest}}} | #ccccff }}|}} | ||
{{if | {{#if:{{{external|}}}| {{Infobox mod line | External worker(s) | {{{external}}} | #ccccff }}|}} | ||
{{Infobox mod line | Released on | {{{released|N/A}}} | #ddddff }} | {{Infobox mod line | Released on | {{{released|N/A}}} | #ddddff }} | ||
{{if | {{#if:{{{releasedate|}}}| {{Infobox mod line | Next release date| {{{releasedate}}} | #ddddff }}|}} | ||
{{if | {{#if:{{{version|}}}| {{Infobox mod line | Latest Version| {{{version}}} | #ddddff }}|}} | ||
{{if | {{#if:{{{web|}}}| {{Infobox mod line | Website | {{{web}}} | #ddddff }}|}} | ||
{{if | {{#if:{{{link|}}}| {{Infobox mod line | Download | {{{link}}} | #ddddff }}|}} | ||
|}<noinclude> | |}<noinclude> | ||
Line 42: | Line 42: | ||
</pre> | </pre> | ||
|} | |} | ||
<dl> | |||
<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.}} | {{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]] | [[Category:Templates|INFOBOX MOD]] | ||
</noinclude> | </noinclude> |
Revision as of 13:20, 21 April 2014
{{{title}}}
|
---|
Usage
{{Infobox_mod |title = |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 }}