Infobox/Squad – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Cosmetic change)
m (Some wiki formatting)
 
(37 intermediate revisions by 15 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:0px;border-collapse: collapse;"
<includeonly>{| class="float-right" style="background-color: #F9F9F9; border: 1px solid #DDD; border-collapse: collapse; font-size: 0.9em; width: 23em"
! style="font-size:120%; text-align: center;" | ''{{{title}}}''
! style="font-size:120%" | {{{title}}}{{#if: {{{image|}}} | <br>[[Image:{{{image}}}|center|230px]] }}
{{#if: {{{members|}}}
|
{{!}}-
! style="background-color: #DDD" {{!}} Members
{{!}}-
{{!}} style="padding: 0.3em" {{!}} {{{members}}}
}}
{{#if: {{{former_members|}}}
|
{{!}}-
! style="background-color: #DDD" {{!}} Former members
{{!}}-
{{!}} style="padding: 0.3em" {{!}} {{{former_members}}}
}}
{{#if: {{{successes|}}}
|
{{!}}-
! style="background-color: #DDD" {{!}} Successes
{{!}}-
{{!}} style="padding: 0.3em" {{!}} {{{successes}}}
}}
{{#if: {{{founded|}}}
|
{{!}}-
! style="background-color: #DDD" {{!}} Founded
{{!}}-
{{!}} style="padding: 0.3em" {{!}} {{{founded}}}
}}
{{#if:{{{link|}}}
|
{{!}}-
! style="text-align: center;background-color: #DDD" {{!}} Website
{{!}}-
{{!}} style="padding: 0.3em" {{!}} {{{link}}}
}}
|}</includeonly><noinclude>{{Infobox/Squad
|title = title
|image =
|members = members list
|former_members = former members
|successes = successes
|founded = 22/06/2001
|link = <nowiki>http://mysite.com</nowiki>
}}


[[Image:{{{image}}}|center|230px]]
This template displays a squad/group/clan/community details on the page's side.
|-
! style="text-align: center;background-color: #ddd;" | Members
|-
| {{{members}}}
|-
! style="text-align: center;background-color: #ddd;" | Former members
|-
| {{{former_members}}}
|-
! style="text-align: center;background-color: #ddd;" | Successes
|-
| {{{successes}}}
|-
! style="text-align: center;background-color: #ddd;" | Founded
|-
| {{{founded}}}
|-
! style="text-align: center;background-color: #ddd;" | Website
|-
| {{{link}}}
|}


<noinclude>
== Usage ==
{{Infobox/Squad}}


== Usage ==
<pre style="display: inline-block; min-width: 20em">
{| style="background: transparent; border: none;"
{{Infobox/Squad
|<pre>
{{Infobox_squad
|title =  
|title =  
|image =  
|image =  
Line 40: Line 62:
}}
}}
</pre>
</pre>
|}


Picture thumbnail width is 230px. Image must be in form Imagename.jpg, without any tags.
* Picture thumbnail width is '''230px'''. Image must be in format {{hl|imagename.jpg}}, without any wiki tags
* Links in this template must not use the equal {{hl|{{=}}}} symbol. Use {{Template|{{=}}}} in their place (e.g {{hl|{{!}}link {{=}} <nowiki>http://example.org/query.php?foo{{=}}bar&this{{=}}that</nowiki>}})
 


[[Category:Templates|{{PAGENAME}}]]
[[Category:Templates|{{uc:{{PAGENAME}}}}]]
</noinclude>
</noinclude>

Latest revision as of 23:01, 15 July 2023

title
Members
members list
Former members
former members
Successes
successes
Founded
22/06/2001
Website
http://mysite.com

This template displays a squad/group/clan/community details on the page's side.

Usage

{{{title}}}



{{Infobox/Squad
|title = 
|image = 
|members = 
|former_members = 
|successes = 
|founded = 
|link = 
}}
  • Picture thumbnail width is 230px. Image must be in format imagename.jpg, without any wiki tags
  • Links in this template must not use the equal = symbol. Use {{=}} in their place (e.g |link = http://example.org/query.php?foo{{=}}bar&this{{=}}that)