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
Line 1: Line 1:
Take in an optional |status=active
== Properties ==
 
Takes in an optional  
<pre>|status=active</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 7:


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

Revision as of 19:11, 11 September 2022

Properties

Takes 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 {{Person}} Templates as arguments to this template.

Usage

{{Squad|status=active
|{{Person|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}}
}}