Difference between revisions of "Template:Infobox Tour Rugby/doc"

From blackwiki
Jump to navigation Jump to search
imported>Primefac
(update doc)
imported>Zyxw
m (note use of Lua modules using AWB)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
 
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
 +
{{Lua|Module:Infobox|Module:Infobox3cols|Module:InfoboxImage}}
  
 
== Usage ==
 
== Usage ==

Revision as of 14:11, 27 November 2016

Usage

Template:Parameter names example

{{Infobox Tour Rugby
| image = 
| caption = 
| date = 
| tour = 
| team = 
| yearstart = 
| yearfinish = 
| destination = 
| manager = 
| coach = 
| captain = 
| top point scorer = 
| top try scorer = 
| top test point scorer = 
| top test try scorer = 
| matchplayed = 
| matchwon = 
| matchdraw = 
| matchlost = 
| testplayed = 
| testwon = 
| testdraw = 
| testlost = 
| opponent1 = 
| played1 = 
| won1 = 
| draw1 = 
| lost1 = 
| opponent2 = 
| played2 = 
| won2 = 
| draw2 = 
| lost2 = 
| opponent3 = 
| played3 = 
| won3 = 
| draw3 = 
| lost3 = 
| opponent4 = 
| played4 = 
| won4 = 
| draw4 = 
| lost4 = 
| opponent5 = 
| played5 = 
| won5 = 
| draw5 = 
| lost5 = 
| opponent6 = 
| played6 = 
| won6 = 
| draw6 = 
| lost6 = 
| opponent7 = 
| played7 = 
| won7 = 
| draw7 = 
| lost7 = 
| opponent8 = 
| played8 = 
| won8 = 
| draw8 = 
| lost8 = 
| previous = 
| next = 
}}

Parameter notes

The "wonX", "drawX", and "lostX" will default to 0 if not used (saving a bit of text space).

Example

1905-1906 New Zealand tour in Europe and North America
Original allblacks.jpg
The Original All Blacks while on tour in the United Kingdom.
ManagerGeorge Dixon
Tour captain(s)Dave Gallaher
Summary
P W D L
Total
35 34 00 01
Test match
05 04 00 01
Opponent
P W D L
Template:Ru
1 1 0 0
Template:Ru
1 1 0 0
Template:Ru
1 1 0 0
Template:Ru
1 0 0 1
Template:Ru
1 1 0 0
{{Infobox Tour Rugby
|image = Original allblacks.jpg
|caption = The Original All Blacks while on tour in the United Kingdom.
|name= 1905-1906 New Zealand tour in Europe and North America
|team= New Zealand
|yearstart=1905
|yearfinish =1906
|destination =Europe and North America
|manager=[[George Dixon (rugby administrator)|George Dixon]]
|captain=[[Dave Gallaher]]
|matchplayed=35
|matchwon=34
|matchdraw=0
|matchlost=1
|testplayed=5
|testwon=4
|testdraw=0
|testlost=1
|opponent1= {{ru|SCO}}
|icon1=
|played1=1
|won1 =1
|draw1 = 0
|lost1 = 0
|opponent2= {{ru|IRE}}
|icon2=
|played2=1
|won2 = 1
|draw2 = 0
|lost2 = 0
|opponent3= {{ru|ENG}}
|icon3=
|played3=1
|won3 = 1
|draw3 = 0
|lost3 = 0
|opponent4= {{ru|WAL}}
|icon4=
|played4=1
|won4 = 0
|draw4 = 0
|lost4 = 1
|opponent5= {{ru|FRA}}
|icon5=
|played5=1
|won5 = 1
|draw5 = 0
|lost5 = 0
}}

Microformat

Template:UF-hcal