Template:Squad: Difference between revisions

Template page
No edit summary
Tag: Manual revert
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
{{#cargo_declare:
{{#cargo_declare:
_table = Squads
_table = Squads
|captain=String
|captain=Page
|coach=String
|coach=List (,) of Page
|manager=String
|manager=List (,) of Page
|analyst=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>

Latest revision as of 19:21, 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}}
}}