Template:Infobox rugby union tour and Template:Infobox rugby union tour/sandbox: Difference between pages
Appearance
(Difference between pages)
>1ctinus add short desc generator |
>Primefac m Primefac moved page Template:Infobox Tour Rugby/sandbox to Template:Infobox rugby union tour/sandbox: less clunky name, avoids Title Case, and not currently used |
||
| Line 1: | Line 1: | ||
{{ | {{ infobox | ||
| abovestyle = background-color: {{{color|{{{colour|#C0C0C0}}}}}}; color: {{{color text|{{{colour text|black}}}}}} | | abovestyle = background-color: {{{color|{{{colour|#C0C0C0}}}}}}; color: {{{color text|{{{colour text|black}}}}}} | ||
| above = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} | | above = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} | ||
| Line 6: | Line 5: | ||
| caption = {{{caption|}}} | | caption = {{{caption|}}} | ||
| headerstyle = background: {{{color|{{{colour|#dedee2}}}}}}; color: {{{color text|{{{colour text|black}}}}}} | | headerstyle = background: {{{color|{{{colour|#dedee2}}}}}}; color: {{{color text|{{{colour text|black}}}}}} | ||
<!-- old header code, in case someone decides the custom name is better than just a generic PAGENAME, as only two pages are not called <Team> <year> tour of <dest> | <!-- old header code, in case someone decides the custom name is better than just a generic PAGENAME, as only two pages are not called <Team> <year> tour of <dest> | ||
{{#if: {{{tour|}}} | {{{tour}}} }}{{#if: {{{team|}}} | {{{yearstart}}} }} {{#if: {{{yearfinish|}}}| - <span class="dtend">{{{yearfinish}}} | {{#if: {{{tour|}}} | {{{tour}}} }}{{#if: {{{team|}}} | {{{yearstart}}} }} {{#if: {{{yearfinish|}}}| - <span class="dtend">{{{yearfinish}}}}} {{#if: {{{team|}}} | {{{team}}} tour}} {{#if: {{{destination|}}} | in {{{destination}}} }} | ||
--> | --> | ||
| label2 = Manager | | label2 = Manager | ||
| data2 = {{{manager|}}} | | data2 = {{{manager|}}} | ||
| Line 23: | Line 20: | ||
| label6 = Top try scorer(s) | | label6 = Top try scorer(s) | ||
| data6 = {{{top try scorer|}}} | | data6 = {{{top try scorer|}}} | ||
| label7 = | | label7 = Top test point scorer(s) | ||
| data7 = {{{top test point scorer|}}} | | data7 = {{{top test point scorer|}}} | ||
| label8 = | | label8 = Top test try scorer(s) | ||
| data8 = {{{top test try scorer|}}} | | data8 = {{{top test try scorer|}}} | ||
| Line 33: | Line 30: | ||
| datastyle = background: {{{color|{{{colour|#dedee2}}}}}}; color: {{{color text|{{{colour text|black}}}}}} | | datastyle = background: {{{color|{{{colour|#dedee2}}}}}}; color: {{{color text|{{{colour text|black}}}}}} | ||
| label1 = Summary | | label1 = Summary | ||
| data1 = {{ | | data1 = {{infobox3cols | child = yes | ||
| label1 = P | | label1 = P | ||
| data1a = '''W''' | | data1a = '''W''' | ||
| Line 42: | Line 39: | ||
}} | }} | ||
| label12 = {{#if:{{{matchplayed|}}}|Total}} | | label12 = {{#if:{{{matchplayed|}}}|Total}} | ||
| data12 = {{#if:{{{matchplayed|}}}|{{ | | data12 = {{#if:{{{matchplayed|}}}|{{infobox3cols | child = yes | ||
| label1 = | | label1 = {{{matchplayed|}}} | ||
| data1a = | | data1a = {{{matchwon|0}}} | ||
| data1b = | | data1b = {{{matchdraw|0}}} | ||
| data1c = | | data1c = {{{matchlost|0}}} | ||
}} | }} | ||
}} | }} | ||
| label13 = {{#if:{{{testplayed|}}}|Test match}} | | label13 = {{#if:{{{testplayed|}}}|Test match}} | ||
| data13 = {{#if:{{{testplayed|}}}|{{ | | data13 = {{#if:{{{testplayed|}}}|{{infobox3cols | child = yes | ||
| label1 = | | label1 = {{{testplayed|}}} | ||
| data1a = | | data1a = {{{testwon|0}}} | ||
| data1b = | | data1b = {{{testdraw|0}}} | ||
| data1c = | | data1c = {{{testlost|0}}} | ||
}} | }} | ||
}} | }} | ||
<!---------- Individual team games ---------------> | <!---------- Individual team games ---------------> | ||
| header15 = {{#if:{{{opponent1|}}}|{{ | | header15 = {{#if:{{{opponent1|}}}|{{infobox | decat = yes | child = yes | ||
| labelstyle = background: {{{color|{{{colour|#dedee2}}}}}}; color: {{{color text|{{{colour text|black}}}}}} | | labelstyle = background: {{{color|{{{colour|#dedee2}}}}}}; color: {{{color text|{{{colour text|black}}}}}} | ||
| datastyle = background: {{{color|{{{colour|#dedee2}}}}}}; color: {{{color text|{{{colour text|black}}}}}} | | datastyle = background: {{{color|{{{colour|#dedee2}}}}}}; color: {{{color text|{{{colour text|black}}}}}} | ||
| label1 = Opponent | | label1 = Opponent | ||
| data1 = {{ | | data1 = {{infobox3cols | child = yes | ||
| label1 = P | | label1 = P | ||
| data1a = '''W''' | | data1a = '''W''' | ||
| Line 72: | Line 69: | ||
}} | }} | ||
| label16 = {{#if:{{{opponent1|}}}|{{{opponent1}}}}} | | label16 = {{#if:{{{opponent1|}}}|{{{opponent1}}}}} | ||
| data16 = {{#if:{{{opponent1|}}}|{{ | | data16 = {{#if:{{{opponent1|}}}|{{infobox3cols | child = yes | ||
| label1 = {{{played1|}}} | | label1 = {{{played1|}}} | ||
| data1a = {{{won1|0}}} | | data1a = {{{won1|0}}} | ||
| Line 81: | Line 78: | ||
| label17 = {{#if:{{{opponent2|}}}|{{{opponent2}}}}} | | label17 = {{#if:{{{opponent2|}}}|{{{opponent2}}}}} | ||
| data17 = {{#if:{{{opponent2|}}}|{{ | | data17 = {{#if:{{{opponent2|}}}|{{infobox3cols | child = yes | ||
| label1 = {{{played2|}}} | | label1 = {{{played2|}}} | ||
| data1a = {{{won2|0}}} | | data1a = {{{won2|0}}} | ||
| Line 90: | Line 87: | ||
| label18 = {{#if:{{{opponent3|}}}|{{{opponent3}}}}} | | label18 = {{#if:{{{opponent3|}}}|{{{opponent3}}}}} | ||
| data18 = {{#if:{{{opponent3|}}}|{{ | | data18 = {{#if:{{{opponent3|}}}|{{infobox3cols | child = yes | ||
| label1 = {{{played3|}}} | | label1 = {{{played3|}}} | ||
| data1a = {{{won3|0}}} | | data1a = {{{won3|0}}} | ||
| Line 99: | Line 96: | ||
| label19 = {{#if:{{{opponent4|}}}|{{{opponent4}}}}} | | label19 = {{#if:{{{opponent4|}}}|{{{opponent4}}}}} | ||
| data19 = {{#if:{{{opponent4|}}}|{{ | | data19 = {{#if:{{{opponent4|}}}|{{infobox3cols | child = yes | ||
| label1 = {{{played4|}}} | | label1 = {{{played4|}}} | ||
| data1a = {{{won4|0}}} | | data1a = {{{won4|0}}} | ||
| Line 108: | Line 105: | ||
| label20 = {{#if:{{{opponent5|}}}|{{{opponent5}}}}} | | label20 = {{#if:{{{opponent5|}}}|{{{opponent5}}}}} | ||
| data20 = {{#if:{{{opponent5|}}}|{{ | | data20 = {{#if:{{{opponent5|}}}|{{infobox3cols | child = yes | ||
| label1 = {{{played5|}}} | | label1 = {{{played5|}}} | ||
| data1a = {{{won5|0}}} | | data1a = {{{won5|0}}} | ||
| Line 117: | Line 114: | ||
| label21 = {{#if:{{{opponent6|}}}|{{{opponent6}}}}} | | label21 = {{#if:{{{opponent6|}}}|{{{opponent6}}}}} | ||
| data21 = {{#if:{{{opponent6|}}}|{{ | | data21 = {{#if:{{{opponent6|}}}|{{infobox3cols | child = yes | ||
| label1 = {{{played6|}}} | | label1 = {{{played6|}}} | ||
| data1a = {{{won6|0}}} | | data1a = {{{won6|0}}} | ||
| Line 126: | Line 123: | ||
| label22 = {{#if:{{{opponent7|}}}|{{{opponent7}}}}} | | label22 = {{#if:{{{opponent7|}}}|{{{opponent7}}}}} | ||
| data22 = {{#if:{{{opponent7|}}}|{{ | | data22 = {{#if:{{{opponent7|}}}|{{infobox3cols | child = yes | ||
| label1 = {{{played7|}}} | | label1 = {{{played7|}}} | ||
| data1a = {{{won7|0}}} | | data1a = {{{won7|0}}} | ||
| Line 135: | Line 132: | ||
| label23 = {{#if:{{{opponent8|}}}|{{{opponent8}}}}} | | label23 = {{#if:{{{opponent8|}}}|{{{opponent8}}}}} | ||
| data23 = {{#if:{{{opponent8|}}}|{{ | | data23 = {{#if:{{{opponent8|}}}|{{infobox3cols | child = yes | ||
| label1 = {{{played8|}}} | | label1 = {{{played8|}}} | ||
| data1a = {{{won8|0}}} | | data1a = {{{won8|0}}} | ||
| Line 145: | Line 142: | ||
<!----------------- Other tours ------------------> | <!----------------- Other tours ------------------> | ||
| header25 = {{#if: {{{previous| | | header25 = {{#if: {{{previous|}}}{{{next|}}}|Tour chronology}} | ||
| label26 = Previous tour | | label26 = Previous tour | ||
| data26 = {{{previous| | | data26 = {{{previous|}}} | ||
| label27 = Next tour | | label27 = Next tour | ||
| data27 = {{{next | | data27 = {{{next|}}} | ||
}}{{main other|{{#if: {{{yearstart|}}} |[[Category:{{{yearstart}}} rugby union tours|{{{team}}}]]}}{{#if: {{{yearfinish|}}} |[[Category:{{{yearfinish}}} rugby union tours|{{{team}}}]]}}}} | |||
}}{{main other|{{#if: {{{yearstart|}}} | <noinclude> | ||
{{ | ----- | ||
Example template | |||
{{Parameter names example|_template=Infobox Tour Rugby/sandbox | |||
|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|icon1|played1|won1|draw1|lost1|icon2|opponent2|played2|won2|draw2|lost2|icon3|opponent3|played3|won3|draw3|lost3|icon4|opponent4|played4|won4|draw4|lost4|icon5|opponent5|played5|won5|draw5|lost5|icon6|opponent6|played6|won6|draw6|lost6|icon7|opponent7|played7|won7|draw7|lost7|icon8|opponent8|played8|won8|draw8|lost8|previous|next}} | |||
</noinclude> | </noinclude> | ||