Difference between revisions of "Template:Infobox/Squad"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Just trying to make squad image optional)
m (Lou Montana moved page Infobox squad to Infobox/Squad without leaving a redirect: name standard)
 
(22 intermediate revisions by 11 users not shown)
Line 1: Line 1:
 
{| style="width:23em; font-size:90%; text-align:left; border:1px solid #ddd; background-color:#f9f9f9; color:black; margin-bottom:0.5em; margin-left:1em; float:right; clear:right; padding:0;border-collapse: collapse;"
 
{| style="width:23em; font-size:90%; text-align:left; border:1px solid #ddd; background-color:#f9f9f9; color:black; margin-bottom:0.5em; margin-left:1em; float:right; clear:right; padding:0;border-collapse: collapse;"
! style="font-size:120%; text-align: center;" | ''{{{title}}}''
+
! style="font-size:120%; text-align: center;" | {{{title}}}
{{if defined call|{{{image|}}} | [[Image:{{{image}}}|center|230px]]}}
+
{{#if:{{{image|}}}|[[Image:{{{image}}}|center|230px]]|}}
 
|-
 
|-
 
! style="text-align: center;background-color: #ddd;" | Members
 
! style="text-align: center;background-color: #ddd;" | Members
Line 29: Line 29:
 
{| style="background: transparent; border: none;"
 
{| style="background: transparent; border: none;"
 
|<pre>
 
|<pre>
{{Infobox_squad
+
{{Infobox/Squad
 
|title =  
 
|title =  
 
|image =  
 
|image =  
Line 41: Line 41:
 
|}
 
|}
  
Picture thumbnail width is 230px. Image must be in form Imagename.jpg, without any tags.
+
<dl>
 +
<dt>Note:</dt>
 +
<dd>Picture thumbnail width is 230px. Image must be in form Imagename.jpg, without any tags.</dd>
 +
<dt>Note:</dt>
 +
<dd>Links in this template must not use the = (equal) symbol. Use {{Template|{{=}}}} in their place:
 +
<pre>...
 +
...
 +
|link = http://example.org/query.php?foo{{=}}bar&this{{=}}that
 +
}}</pre></dd>
 +
</dl>
  
 +
{{Feature|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|{{uc:{{PAGENAME}}}}]]
 
 
[[Category:Templates|{{PAGENAME}}]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 01:17, 8 February 2021

{{{title}}}
Members
{{{members}}}
Former members
{{{former_members}}}
Successes
{{{successes}}}
Founded
{{{founded}}}
Website
{{{link}}}


Usage

{{Infobox/Squad
|title = 
|image = 
|members = 
|former_members = 
|successes = 
|founded = 
|link = 
}}
Note:
Picture thumbnail width is 230px. Image must be in form Imagename.jpg, without any tags.
Note:
Links in this template must not use the = (equal) symbol. Use {{=}} in their place:
...
...
|link = http://example.org/query.php?foo{{=}}bar&this{{=}}that
}}
Please do not try usage of infobox in this page, do it in you sandbox or in your squad article.