Difference between revisions of "Template:International goals header/doc"

From blackwiki
Jump to navigation Jump to search
imported>6ii9
(Created page with '{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> ==...')
 
imported>6ii9
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
== Usage ==
 
== Usage ==
 +
The purpose of the {{tl|International goals header}} template is to easily add the header row to tables for international goals scored by an association football player.
  
 +
 +
The headers are automatically made sortable (apart from Ref). To make them not sortable use the following:
 +
:<code><nowiki>{{International goals header|sort=no}}</nowiki></code>
 +
 +
 +
The {{Abbr|Ref|Reference}} header can be removed using the following:
 +
:<code><nowiki>{{International goals header|ref=no}}</nowiki></code>
 +
 +
 +
Text can be added above the table using the following:
 +
:<code><nowiki>{{International goals header|above=List of international goals scored by a player}}</nowiki></code>
 +
 +
Which produces:
 +
{{International goals header|above=List of international goals scored by a player}}
 +
|}
  
 
<includeonly>{{sandbox other||
 
<includeonly>{{sandbox other||

Latest revision as of 15:45, 13 September 2019

Usage

The purpose of the {{International goals header}} template is to easily add the header row to tables for international goals scored by an association football player.


The headers are automatically made sortable (apart from Ref). To make them not sortable use the following:

{{International goals header|sort=no}}


The Ref header can be removed using the following:

{{International goals header|ref=no}}


Text can be added above the table using the following:

{{International goals header|above=List of international goals scored by a player}}

Which produces:

List of international goals scored by a player
Goal Date Venue Opponent Score Result Competition Ref