Template:Squad/doc: Difference between revisions

Template page
(Created page with "Take in an optional |status=active 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 <nowiki>{{Person}}</nowiki> Templates as arguments to this template. == Usage == <nowiki> {{Squad|status=active </nowiki> <nowiki> |{{Person|flag=ca|id=PlayerPage|name=PlayerName|position=1|joindate=2016-09-15}} </nowiki> <nowiki> }} </nowiki>")
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
Take in an optional |status=active
== Properties ==
 
Takes in an optional  
<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 6: Line 8:


== Usage ==
== Usage ==
<nowiki>
<pre>
{{Squad|status=active
{{Squad|status=active
</nowiki>
|{{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}}
<nowiki>
|{{Person|flag=ca|id=PlayerPage|name=PlayerName|position=1|joindate=2016-09-15}}
</nowiki>
 
<nowiki>
}}
}}
</nowiki>
</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}}
}}