Difference between revisions of "Template:Infobox rugby league/doc"

From blackwiki
Jump to navigation Jump to search
imported>EdwardUK
(→‎Example: changed website to rugby-league.com)
imported>Zyxw
m (add template category, update usage section)
 
Line 4: Line 4:
 
This template summarises the key information of rugby leagues at  national, subnational and supranational levels.
 
This template summarises the key information of rugby leagues at  national, subnational and supranational levels.
  
=== Usage ===
+
== Usage ==
<pre style="overflow:auto">{{Infobox rugby league
+
{{Parameter names example|leaguename|nativename|logo|logosize|alt|caption|founded|formerly|formerly2|formerly3|formerly4|formerly5|mainaffiliation|RLIF|region|regionyear|folded|replaced|replaced2|replaced3|remit|headquarters|membership|president|chairperson|CEO|womenscoach|menscoach|comps|website|countryflag|countryflagvar|countryflag2|countryflag2var|updated}}
| leaguename     = English name of organisation.
+
<pre style="overflow:auto;">
| nativename     = Use for official names in the organisation's language if other than English if applicable.
 
| logo           = just the image name.
 
| logosize       =
 
| alt           = add alternative text for image for users who cannot see the image.
 
| founded       = The year founded.
 
| formerly       = Plus: formerly2, 3, 4, 5. Previous name(s) of the organisation. Links are not required here.
 
| mainaffiliation= Label+link for latest affiliation if not RLIF. Use for original RLIF name, rival orgs or on subnational articles.
 
| RLIF           = Year of RLIF {{{mainaffiliation}}} affiliation.
 
| region         = Label and link for the region e.g. "[[Rugby League European Federation|RLEF]]" or "[[Rugby Football League|RFL]]"
 
| regionyear     = Year of {{{region}}} affiliation.
 
| folded         = Year the organisation ceased to operate.
 
| replaced       = Plus replaced2, 3. If another organisation replaced this one, link it.
 
| remit         = What is the purpose of this organisation?
 
| headquarters   = Where the organisation is based
 
| membership     =
 
| president     = Use if applicable
 
| chairperson   = Use if applicable
 
| CEO           = Use if applicable
 
| menscoach     = No need to use if a separate article exists for this body's representative team
 
| womenscoach    = No need to use if a separate article exists for this body's representative team
 
| comps         =
 
| website       = "[http://www.url.com url.com]"
 
| countryflag   =
 
| countryflagvar = e.g. for Ireland (which combines Northern Ireland & Ireland):  countryflag = Ireland & countryflagvar = 4prov
 
| countryflag2   = Use if a rugby league is responsible for a second area.
 
| countryflag2var=
 
| updated       = Display the last time the infobox was updated to help maintenance. Format: "DD Month YYYY".
 
}}</pre>
 
 
 
=== Example ===
 
 
{{Infobox rugby league
 
{{Infobox rugby league
| leaguename  =Rugby Football League
 
| nativename  =
 
| logo        =Bad Title Example.png
 
| logosize    =150px
 
| founded    =1895
 
| formerly    =Northern Rugby Football Union
 
| formerly2  =Northern Rugby Football League
 
| RLIF        =1948
 
| region      =[[Rugby League European Federation|RLEF]]
 
| regionyear  =2003 (Full member)
 
| remit      =[[United Kingdom]] and [[Republic of Ireland]]
 
| headquarters=Red Hall, Red Hall Lane, [[Leeds]], UK
 
| chairperson =[[Richard Lewis (tennis and rugby league)|Richard Lewis]] (2002- )
 
| CEO        =[[Nigel Wood]]
 
| comps      =[[Super League]]<br>[[Challenge Cup]]<br>Other comp
 
| website    =[http://www.rugby-league.com/ rugby-league.com]
 
| countryflag =United Kingdom
 
| updated    =30 June 2009
 
}}
 
<pre style="overflow:auto">
 
{{Infobox rugby league
 
| leaguename  =Rugby Football League
 
| nativename  =
 
| logo        =Bad Title Example.png
 
| logosize    =150px
 
| founded    =1895
 
| formerly    =Northern Rugby Football Union
 
| formerly2  =Northern Rugby Football League
 
| RLIF        =1948
 
| region      =[[Rugby League European Federation|RLEF]]
 
| regionyear  =2003 (Full member)
 
| remit      =[[United Kingdom]] and [[Republic of Ireland]]
 
| headquarters=Red Hall, Red Hall Lane, [[Leeds]], UK
 
| chairperson =[[Richard Lewis (tennis and rugby league)|Richard Lewis]] (2002- )
 
| CEO        =[[Nigel Wood]]
 
| comps      =[[Super League]]<br>[[Challenge Cup]]<br>Other comp
 
| website    =[http://www.rugby-league.com/ rugby-league.com]
 
| countryflag =United Kingdom
 
| updated    =30 June 2009
 
}}</pre>
 
 
=== Blank version ===
 
<pre>
 
<nowiki>{{</nowiki>Infobox rugby league
 
 
| leaguename    =
 
| leaguename    =
 
| nativename    =
 
| nativename    =
Line 109: Line 35:
 
}}
 
}}
 
</pre>
 
</pre>
 +
{{clear}}
  
=== See also ===
+
== Parameters ==
 +
; leaguename    : English name of organisation.
 +
; nativename    : Use for official names in the organisation's language if other than English if applicable.
 +
; logo          : just the image name.
 +
; logosize      : &nbsp;
 +
; alt            : add alternative text for image for users who cannot see the image.
 +
; founded        : The year founded.
 +
; formerly      : Plus: formerly2, 3, 4, 5. Previous name(s) of the organisation. Links are not required here.
 +
; mainaffiliation: Label+link for latest affiliation if not RLIF. Use for original RLIF name, rival orgs or on subnational articles.
 +
; RLIF          : Year of RLIF {{{mainaffiliation}}} affiliation.
 +
; region        : Label and link for the region e.g. <nowiki>[[Rugby League European Federation|RLEF]] or [[Rugby Football League|RFL]]</nowiki>
 +
; regionyear    : Year of {{{region}}} affiliation.
 +
; folded        : Year the organisation ceased to operate.
 +
; replaced      : Plus replaced2, 3. If another organisation replaced this one, link it.
 +
; remit          : What is the purpose of this organisation?
 +
; headquarters  : Where the organisation is based
 +
; membership    : &nbsp;
 +
; president      : Use if applicable
 +
; chairperson    : Use if applicable
 +
; CEO            : Use if applicable
 +
; menscoach      : No need to use if a separate article exists for this body's representative team
 +
; womenscoach    : No need to use if a separate article exists for this body's representative team
 +
; comps          : &nbsp;
 +
; website        : <nowiki>{{URL|example.com}}</nowiki>
 +
; countryflag    : &nbsp;
 +
; countryflagvar : e.g. for Ireland (which combines Northern Ireland & Ireland):  countryflag : Ireland & countryflagvar : 4prov
 +
; countryflag2  : Use if a rugby league is responsible for a second area.
 +
; countryflag2var: &nbsp;
 +
; updated        : Display the last time the infobox was updated to help maintenance. Format: "DD Month YYYY".
 +
 
 +
== Example ==
 +
{{Infobox rugby league
 +
| leaguename  = Rugby Football League
 +
| nativename  =
 +
| logo        = Bad Title Example.png
 +
| logosize    = 150px
 +
| founded      = 1895
 +
| formerly    = Northern Rugby Football Union
 +
| formerly2    = Northern Rugby Football League
 +
| RLIF        = 1948
 +
| region      = [[Rugby League European Federation|RLEF]]
 +
| regionyear  = 2003 (Full member)
 +
| remit        = [[United Kingdom]] and [[Republic of Ireland]]
 +
| headquarters = Red Hall, Red Hall Lane, [[Leeds]], UK
 +
| chairperson  = [[Richard Lewis (tennis and rugby league)|Richard Lewis]] (2002- )
 +
| CEO          = [[Nigel Wood]]
 +
| comps        = [[Super League]]<br>[[Challenge Cup]]<br>Other comp
 +
| website      = {{URL|rugby-league.com}}
 +
| countryflag  = United Kingdom
 +
| updated      = 30 June 2009
 +
}}
 +
<pre style="overflow:auto">
 +
{{Infobox rugby league
 +
| leaguename  = Rugby Football League
 +
| nativename  =
 +
| logo        = Bad Title Example.png
 +
| logosize    = 150px
 +
| founded      = 1895
 +
| formerly    = Northern Rugby Football Union
 +
| formerly2    = Northern Rugby Football League
 +
| RLIF        = 1948
 +
| region      = [[Rugby League European Federation|RLEF]]
 +
| regionyear  = 2003 (Full member)
 +
| remit        = [[United Kingdom]] and [[Republic of Ireland]]
 +
| headquarters = Red Hall, Red Hall Lane, [[Leeds]], UK
 +
| chairperson  = [[Richard Lewis (tennis and rugby league)|Richard Lewis]] (2002- )
 +
| CEO          = [[Nigel Wood]]
 +
| comps        = [[Super League]]<br>[[Challenge Cup]]<br>Other comp
 +
| website      = {{URL|rugby-league.com}}
 +
| countryflag  = United Kingdom
 +
| updated      = 30 June 2009
 +
}}
 +
</pre>
  
 
<includeonly>{{sandbox other||
 
<includeonly>{{sandbox other||
 
<!-- Categories below this line; interwikis at Wikidata -->
 
<!-- Categories below this line; interwikis at Wikidata -->
 
[[Category:Rugby league infobox templates]]
 
[[Category:Rugby league infobox templates]]
 
+
[[Category:Infobox templates with updated parameter]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 10:45, 15 October 2018

This template summarises the key information of rugby leagues at national, subnational and supranational levels.

Usage

Template:Parameter names example

{{Infobox rugby league
| leaguename     =
| nativename     =
| logo           = 
| logosize       =
| alt            = 
| founded        = 
| formerly       = 
| RLIF           = 
| region         = 
| regionyear     = 
| folded         = 
| replaced       = 
| remit          =
| headquarters   =
| membership     =
| president      =
| chairperson    =
| CEO            =
| menscoach      =
| womenscoach    =
| comps          =
| website        =
| countryflag    =
| countryflagvar = 
| updated        =
}}

Parameters

leaguename
English name of organisation.
nativename
Use for official names in the organisation's language if other than English if applicable.
logo
just the image name.
logosize
 
alt
add alternative text for image for users who cannot see the image.
founded
The year founded.
formerly
Plus: formerly2, 3, 4, 5. Previous name(s) of the organisation. Links are not required here.
mainaffiliation
Label+link for latest affiliation if not RLIF. Use for original RLIF name, rival orgs or on subnational articles.
RLIF
Year of RLIF {{{mainaffiliation}}} affiliation.
region
Label and link for the region e.g. [[Rugby League European Federation|RLEF]] or [[Rugby Football League|RFL]]
regionyear
Year of {{{region}}} affiliation.
folded
Year the organisation ceased to operate.
replaced
Plus replaced2, 3. If another organisation replaced this one, link it.
remit
What is the purpose of this organisation?
headquarters
Where the organisation is based
membership
 
president
Use if applicable
chairperson
Use if applicable
CEO
Use if applicable
menscoach
No need to use if a separate article exists for this body's representative team
womenscoach
No need to use if a separate article exists for this body's representative team
comps
 
website
{{URL|example.com}}
countryflag
 
countryflagvar 
e.g. for Ireland (which combines Northern Ireland & Ireland): countryflag : Ireland & countryflagvar : 4prov
countryflag2
Use if a rugby league is responsible for a second area.
countryflag2var
 
updated
Display the last time the infobox was updated to help maintenance. Format: "DD Month YYYY".

Example

Rugby Football League
Infobox rugby league/doc logo
Founded1895
Formerly namedNorthern Rugby Football Union
Northern Rugby Football League
RLIF affiliation1948
RLEF affiliation2003 (Full member)
ResponsibilityUnited Kingdom and Republic of Ireland
HeadquartersRed Hall, Red Hall Lane, Leeds, UK
Key peopleRichard Lewis (2002- ) (Chair)
Nigel Wood (Chief Executive)
CompetitionsSuper League
Challenge Cup
Other comp
WebsiteTemplate:URL
United Kingdom
As of 30 June 2009
{{Infobox rugby league
| leaguename   = Rugby Football League
| nativename   = 
| logo         = Bad Title Example.png
| logosize     = 150px
| founded      = 1895
| formerly     = Northern Rugby Football Union
| formerly2    = Northern Rugby Football League
| RLIF         = 1948 
| region       = [[Rugby League European Federation|RLEF]]
| regionyear   = 2003 (Full member)
| remit        = [[United Kingdom]] and [[Republic of Ireland]]
| headquarters = Red Hall, Red Hall Lane, [[Leeds]], UK
| chairperson  = [[Richard Lewis (tennis and rugby league)|Richard Lewis]] (2002- )
| CEO          = [[Nigel Wood]]
| comps        = [[Super League]]<br>[[Challenge Cup]]<br>Other comp
| website      = {{URL|rugby-league.com}}
| countryflag  = United Kingdom 
| updated      = 30 June 2009
}}