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

From blackwiki
Jump to navigation Jump to search
imported>6ii9
imported>6ii9
 
Line 11: Line 11:
 
The {{Abbr|Ref|Reference}} header can be removed using the following:
 
The {{Abbr|Ref|Reference}} header can be removed using the following:
 
:<code><nowiki>{{International goals header|ref=no}}</nowiki></code>
 
:<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