Template:Squad: Difference between revisions

Template page
No edit summary
Tags: Manual revert Reverted
mNo edit summary
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#invoke:Squad/Custom|run}}</includeonly><noinclude>{{Documentation}}</noinclude>
<templatestyles src="Striped table.css" />
<noinclude>
{{#cargo_declare:
_table = Squads
|captain=Page
|coach=List (,) of Page
|manager=List (,) of Page
|analyst=List (,) of Page
}}</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}}
}}