Template:Squad: Difference between revisions
From TwogPedia
            mNo edit summary  | 
				mNo edit summary  | 
				||
| Line 3: | Line 3: | ||
{{#cargo_declare:  | {{#cargo_declare:  | ||
_table = Squads  | _table = Squads  | ||
|captain=  | |captain=Page  | ||
|coach=List (,) of   | |coach=List (,) of Page  | ||
|manager=List (,) of   | |manager=List (,) of Page  | ||
}}</noinclude><includeonly>{{#invoke:Squad|main}}</includeonly><noinclude>{{Documentation}}[[Category:Templates]]</noinclude>  | }}</noinclude><includeonly>{{#invoke:Squad|main}}</includeonly><noinclude>{{Documentation}}[[Category:Templates]]</noinclude>  | ||
Revision as of 19:14, 30 September 2023
This template defines the table "Squads". View table.
Documentation (view - edit)
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}}
}}