Template:Squad/doc: Difference between revisions

Template page
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
== Properties ==
== Properties ==
Takes in an optional  
Takes in an optional  
<pre>|status=active</pre>
<pre>|status=active
|title=Random text</pre>
If status is set to active, then the table will only display the "ID, Name, Position and Join Date" columns.
If status is set to active, then the table will only display the "ID, Name, Position and Join Date" columns.


Line 9: Line 10:
<pre>
<pre>
{{Squad|status=active
{{Squad|status=active
|{{Person|flag=ca|id=PlayerPage|name=PlayerName|position=1|joindate=2016-09-15}}
|{{Player|flag=ca|id=PlayerPage|name=PlayerName|position=1|joindate=2016-09-15}}
|{{Person|flag=usa|id=PlayerPage2|name=Next Name|position=Top|joindate=2022-09-15}}
|{{Player|flag=usa|id=PlayerPage2|name=Next Name|position=Top|joindate=2022-09-15}}
}}
}}
</pre>
</pre>

Latest revision as of 09:14, 30 September 2022

Properties

Takes in an optional

|status=active
|title=Random text

If status is set to active, then the table will only display the "ID, Name, Position and Join Date" columns.

Apart from |status you should only pass {{Person}} Templates as arguments to this template.

Usage

{{Squad|status=active
|{{Player|flag=ca|id=PlayerPage|name=PlayerName|position=1|joindate=2016-09-15}}
|{{Player|flag=usa|id=PlayerPage2|name=Next Name|position=Top|joindate=2022-09-15}}
}}