Difference between revisions of "Template:International goals header"
Jump to navigation
Jump to search
imported>Skyblueshaun |
imported>6ii9 |
||
| (17 intermediate revisions by 7 users not shown) | |||
| Line 1: | Line 1: | ||
| − | {| class="wikitable | + | {| class="wikitable {{#ifeq:{{{sort|}}}|no|plainrowheaders|plainrowheaders sortable}}" |
| − | | | + | |+{{#if:{{{above|}}}|{{{above}}}|}} |
| − | ! | + | !scope=col|Goal |
| − | | | + | !scope=col|Date |
| − | ! | + | !scope=col|Venue |
| − | + | !scope=col|Opponent | |
| − | </noinclude> | + | !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 |
|---|
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
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:
| Goal | Date | Venue | Opponent | Score | Result | Competition | Ref |
|---|
| The above documentation is transcluded from Template:International goals header/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |