Difference between revisions of "Template:International goals header"

From blackwiki
Jump to navigation Jump to search
imported>GoPurpleNGold24
imported>6ii9
 
(41 intermediate revisions by 15 users not shown)
Line 1: Line 1:
{| class="wikitable" style="font-size:90%; width=250; text-align: left;"
+
{| class="wikitable {{#ifeq:{{{sort|}}}|no|plainrowheaders|plainrowheaders sortable}}"
! # !! Date !! Venue !! Opponent !! Score !! Result !! Competition
+
|+{{#if:{{{above|}}}|{{{above}}}|}}
 +
!scope=col|Goal
 +
!scope=col|Date
 +
!scope=col|Venue
 +
!scope=col|Opponent
 +
!scope=col|Score
 +
!scope=col|Result
 +
!scope=col|Competition{{#ifeq:{{{ref|}}}|no||!! scope{{=}}col class{{=}}unsortable{{!}}{{Abbr|Ref|Reference}}}}<noinclude>
 +
|}
 +
{{Documentation}}</noinclude>

Latest revision as of 10:01, 14 September 2019

Goal Date Venue Opponent Score Result Competition Ref

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