Infobox/Squad – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
 
(15 intermediate revisions by 7 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;"
<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 defined call|{{{image|}}}|echo|[[Image:{{{image}}}|center|230px]]}}
{{#if: {{{members|}}}
|-
|
! style="text-align: center;background-color: #ddd;" | Members
{{!}}-
|-
! style="background-color: #DDD" {{!}} Members
! style="padding:0.3em; font-weight:normal" | {{{members}}}
{{!}}-
|-
{{!}} style="padding: 0.3em" {{!}} {{{members}}}
! style="text-align: center;background-color: #ddd;" | Former members
}}
|-
{{#if: {{{former_members|}}}
! style="padding:0.3em; font-weight:normal" | {{{former_members}}}
|
|-
{{!}}-
! style="text-align: center;background-color: #ddd;" | Successes
! style="background-color: #DDD" {{!}} Former members
|-
{{!}}-
! style="padding:0.3em; font-weight:normal" | {{{successes}}}
{{!}} style="padding: 0.3em" {{!}} {{{former_members}}}
|-
}}
! style="text-align: center;background-color: #ddd;" | Founded
{{#if: {{{successes|}}}
|-
|
! style="padding:0.3em; font-weight:normal" | {{{founded}}}
{{!}}-
|-
! style="background-color: #DDD" {{!}} Successes
! style="text-align: center;background-color: #ddd;" | Website
{{!}}-
|-
{{!}} style="padding: 0.3em" {{!}} {{{successes}}}
! style="padding:0.3em; font-weight:normal" | {{{link}}}
}}
|}
{{#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>
}}


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


== Usage ==
== Usage ==
{| style="background: transparent; border: none;"
{{Infobox/Squad}}
|<pre>
 
{{Infobox_squad
<pre style="display: inline-block; min-width: 20em">
|title = The Virtual Navy
{{Infobox/Squad
|image =
|title =  
|founded = 11NOV2006
|image =  
|link = www.vnavy.com
|members =
|former_members =
|successes =
|founded =  
|link =  
}}
}}
</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>}})


{{Important|Please do not try usage of infobox in this page, do it in you sandbox or in your squad article.}}


[[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)