Difference between revisions of "Template:Units&Clans"

From MechWarrior: Living Legends Wiki
Jump to: navigation, search
(Box formatting adjustments, move useage to doc page.)
m (Revert to previous)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{| class="Units&Clans" style="border:1px solid #250b2d; text-align:left; font-size:9pt; width:{{#if: {{{ImageSize|}}}|{{{ImageSize}}}px|350px}}; margin: 0px 0px 10px 10px;" cellpadding="1" cellspacing="0" rules="all" align="right"
+
<includeonly>{| class="Units&Clans" style="border:2px solid #e69710; text-align:left; font-size:9pt; width:{{#if: {{{ImageSize|}}}|{{{ImageSize}}}px|350px}}; margin: 0px 0px 10px 10px;" cellpadding="4" cellspacing="1" rules="all" align="right"
 
! colspan="3" style="background:#2a2a2a; text-align:center; width:{{#if: {{{ImageSize|}}}|{{{ImageSize}}}px|350px}}; font-size:12pt" | {{PAGENAME}}
 
! colspan="3" style="background:#2a2a2a; text-align:center; width:{{#if: {{{ImageSize|}}}|{{{ImageSize}}}px|350px}}; font-size:12pt" | {{PAGENAME}}
 
|-
 
|-
| colspan="3" style="text-align:center" | [[{{{Image}}} | {{#if: {{{ImageSize|}}}|{{{ImageSize}}}px|350px}}]]  
+
| colspan="3" style="text-align:center; padding:0" | [[{{{Image}}} | {{#if: {{{ImageSize|}}}|{{{ImageSize}}}px|350px}}]]
 
|-
 
|-
 
{{#if: {{{Tag|}}} |
 
{{#if: {{{Tag|}}} |
Line 66: Line 66:
 
|}}
 
|}}
 
|-
 
|-
|}[[Category: Community Clans and Units]]</includeonly>
+
|}</includeonly>
 
<noinclude>{{Documentation}} [[Category:Infoboxes]]</noinclude>
 
<noinclude>{{Documentation}} [[Category:Infoboxes]]</noinclude>

Latest revision as of 01:32, 15 May 2020

Documentation icon Template documentation[view] [edit] [history] [purge]

This infobox template is for community Clans and/or Units.

Usage

Units&Clans
Happy-Snake-wiki.png
Tag: {Serp}
Affiliation: Merc
Website: https://wiki.mechlivinglegends.net
Discord: asdfagsadfasdf
Members
Members: 1-3
Recruitment Style: Invite Only
Leaders: Serpentis
Timezone: Whenever

Blank Template

The infobox may be added by pasting the template as shown below into an article and then filling in the desired fields. Most parameters are not required and will not be displayed when left blank or omitted.

{{Units&Clans
| Image = 
| ImageSize = 
| Tag = 
| Affiliation = 
| Website = 
| Forums = 
| RecruitmentInfo = 
| Discord = 
| TS3 = 
| Servers = 
| Members = 
| RecruitmentStyle = 
| Leaders = 
| Timezone = 
}}

Parameters

Parameter Required Function
Image Yes Image name: File:abc.jpg, File:xpz.png, Image:123.gif; Image name must be prefixed with Image: or File: to function.
ImageSize No Image size is the width of the image. Will also determine the width of the infobox. Defaults to 350px when omitted.
Tag No Clan/Unit Tag.
Affiliation No Merchants / Clans / Inner Sphere / Multi-nation or other of Clan/Unit pick
Website No The Clan/Unit's personal website.
Forums No The Clan/Unit's private forum or MWLL forum topic.
RecruitmentInfo No Information on how to become a member or link to Clan/Unit's recruitment page.
Discord No Invitation to Clan/Unit's personal Discord server.
TS3 No Clan/Unit's personal TeamSpeak server info.
Servers No List of game servers hosted by Clan/Unit.
Members No Member count (approximate).
RecruitmentStyle No Clan/Unit's recruitment style. eg: Open / Invitation only / Closed.
Leaders No List of Clan/Unit's leaders. If multiple, must use <ul> and <li> to display properly.
Timezone No The time zone it is typical to find the most members of a Clan/Unit online. In +/- GMT time.