Difference between revisions of "Template:Ro-entry"

From Rigged Wiki
Jump to navigation Jump to search
m
m
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{ro-header}}</noinclude>
|-
|-
| style="text-align:center;" style="background:{{#switch: {{{role|#F9F9F9}}}|starter=#C3D69B|bronze=#D3A890|silver=#C0C0C0|gold=#EDDA74}};" | {{{name|Player Name}}}
| style="text-align:center; background:#{{#switch: {{{role|F9F9F9}}}|starter=C3D69B|bronze=D3A890|silver=C0C0C0|gold=EDDA74}};" | {{{name|Player Name}}}
| style="background:{{#switch: {{{role|#F9F9F9}}}|starter=#C3D69B|bronze=#D3A890|silver=#C0C0C0|gold=#EDDA74}};" | [[File:{{{image|Image unavailable.png}}}|100px|center]]
| style="text-align:center; background:#{{#switch: {{{role|F9F9F9}}}|starter=C3D69B|bronze=D3A890|silver=C0C0C0|gold=EDDA74}};" | {{{number|??}}}&nbsp;
| style="background:{{#switch: {{{role|#F9F9F9}}}|starter=#C3D69B|bronze=#D3A890|silver=#C0C0C0|gold=#EDDA74}};" | {{Position|{{{position|GK}}
| style="background:#{{#switch: {{{role|F9F9F9}}}|starter=C3D69B|bronze=D3A890|silver=C0C0C0|gold=EDDA74}};" | [[File:{{{image|Image unavailable.svg}}}|100px|center]]
| style="background:{{#switch: {{{role|#F9F9F9}}}|starter=#C3D69B|bronze=#D3A890|silver=#C0C0C0|gold=#EDDA74}};" | {{{bio|&mdash;}}}
| style="background:#{{#switch: {{{role|F9F9F9}}}|starter=C3D69B|bronze=D3A890|silver=C0C0C0|gold=EDDA74}};" | {{Position|{{{position|GK}}}}}
| style="text-align:center;" style="background:{{#switch: {{{role|#F9F9F9}}}|starter=#C3D69B|bronze=#D3A890|silver=#C0C0C0|gold=#EDDA74}};" | {{{height|}}}cm
| style="background:#{{#switch: {{{role|F9F9F9}}}|starter=C3D69B|bronze=D3A890|silver=C0C0C0|gold=EDDA74}};" | {{{bio|&mdash;}}}
| style="text-align:center;" style="background:{{#switch: {{{role|#F9F9F9}}}|starter=#C3D69B|bronze=#D3A890|silver=#C0C0C0|gold=#EDDA74}};" | {{{weight|}}}kg
| style="text-align:center; background:#{{#switch: {{{role|F9F9F9}}}|starter=C3D69B|bronze=D3A890|silver=C0C0C0|gold=EDDA74}};" | {{{height|}}}cm
| style="text-align:center;" style="background:{{#switch: {{{role|#F9F9F9}}}|starter=#C3D69B|bronze=#D3A890|silver=#C0C0C0|gold=#EDDA74}};" | {{{foot|}}}
| style="text-align:center; background:#{{#switch: {{{role|F9F9F9}}}|starter=C3D69B|bronze=D3A890|silver=C0C0C0|gold=EDDA74}};" | {{{weight|}}}kg
| style="text-align:center;" style="background:{{#switch: {{{role|#F9F9F9}}}|starter=#C3D69B|bronze=#D3A890|silver=#C0C0C0|gold=#EDDA74}};" | {{{playingstyle|}}}
| style="text-align:center; background:#{{#switch: {{{role|F9F9F9}}}|starter=C3D69B|bronze=D3A890|silver=C0C0C0|gold=EDDA74}};" | {{{foot|}}}
| style="text-align:center;" style="background:{{#switch: {{{role|#F9F9F9}}}|starter=#C3D69B|bronze=#D3A890|silver=#C0C0C0|gold=#EDDA74}};" | {{{skills|}}}
| style="text-align:center; background:#{{#switch: {{{role|F9F9F9}}}|starter=C3D69B|bronze=D3A890|silver=C0C0C0|gold=EDDA74}};" | {{{playingstyle|}}}
<noinclude></noinclude>
| style="text-align:center; background:#{{#switch: {{{role|F9F9F9}}}|starter=C3D69B|bronze=D3A890|silver=C0C0C0|gold=EDDA74}};" | {{{skills|}}}
<noinclude>
{{ro-end}}
==Usage==
 
When combined with [[Template:Ro-header]] and [[Template:Ro-end]], used to make an entry in a roster table.
 
===Parameters===
 
* <code>role</code>: Choosing from <code>gold</code>, <code>silver</code>, <code>bronze</code> or <code>start</code> will determine whether the player is of gold, silver, bronze or non-medal starting eleven status respectively. Leaving the parameter blank will leave the entry as a standard colour.
* <code>name</code>: The player's name.
* <code>number</code>: The player's number.
* <code>image</code>: An image of the player. Filetype suffix is a requirement.
* <code>position</code>: The position of the player.
* <code>bio</code>: The player bio. Ideal length is around 60-75 words.
* <code>height</code>: The player height, number only.
* <code>weight</code>: The player weight, number only.
* <code>foot</code>: The footedness of the player.
* <code>skills</code>: Any player skills possessed by the player.
 
==Example==
 
<pre style="white-space: pre-wrap;
white-space: -moz-pre-wrap;
white-space: -pre-wrap;
white-space: -o-pre-wrap;
word-wrap: break-word;">
{{ro-entry
|role        = silver
|number      = 65
|name        = Feet
|position    = CF
|bio        = Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque velit diam, rutrum vel sodales quis, convallis lacinia erat. Integer elit nibh, condimentum eu aliquet vitae, mollis non felis. Donec rutrum vestibulum porttitor. Curabitur semper gravida posuere. Aliquam erat volutpat. Ut ac dolor sed dolor tempus volutpat. Morbi sit amet posuere.
|height      = 999
|weight      = 999
|foot        = Left
|playingstyle= Offensive Goalkeeper
|skills      = {{skill|C01}} {{skill|P02}} {{skill|P14}}}}
</pre>
 
{{ro-header}}
{{ro-entry
|role        = silver
|number      = 65
|name        = Feet
|position    = CF
|bio        = Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque velit diam, rutrum vel sodales quis, convallis lacinia erat. Integer elit nibh, condimentum eu aliquet vitae, mollis non felis. Donec rutrum vestibulum porttitor. Curabitur semper gravida posuere. Aliquam erat volutpat. Ut ac dolor sed dolor tempus volutpat. Morbi sit amet posuere.
|height      = 999
|weight      = 999
|foot        = Left
|playingstyle= Offensive Goalkeeper
|skills      = {{skill|C01}} {{skill|P02}} {{skill|P14}}}}
{{ro-end}}
 
==See also==
 
*[[Template:Ro-header]]
*[[Template:Ro-end]]
[[Category:Templates]]
</noinclude>

Latest revision as of 14:06, 17 June 2015

Name No. Image Pos. Bio Height Weight Foot Playing style Skills
Player Name ?? 
Image unavailable.svg
  GK
cm kg

Usage

When combined with Template:Ro-header and Template:Ro-end, used to make an entry in a roster table.

Parameters

  • role: Choosing from gold, silver, bronze or start will determine whether the player is of gold, silver, bronze or non-medal starting eleven status respectively. Leaving the parameter blank will leave the entry as a standard colour.
  • name: The player's name.
  • number: The player's number.
  • image: An image of the player. Filetype suffix is a requirement.
  • position: The position of the player.
  • bio: The player bio. Ideal length is around 60-75 words.
  • height: The player height, number only.
  • weight: The player weight, number only.
  • foot: The footedness of the player.
  • skills: Any player skills possessed by the player.

Example

{{ro-entry
|role        = silver
|number      = 65
|name        = Feet
|position    = CF
|bio         = Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque velit diam, rutrum vel sodales quis, convallis lacinia erat. Integer elit nibh, condimentum eu aliquet vitae, mollis non felis. Donec rutrum vestibulum porttitor. Curabitur semper gravida posuere. Aliquam erat volutpat. Ut ac dolor sed dolor tempus volutpat. Morbi sit amet posuere.
|height      = 999
|weight      = 999
|foot        = Left
|playingstyle= Offensive Goalkeeper
|skills      = {{skill|C01}} {{skill|P02}} {{skill|P14}}}}
Name No. Image Pos. Bio Height Weight Foot Playing style Skills


Feet 65 
Image unavailable.svg
  CF
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque velit diam, rutrum vel sodales quis, convallis lacinia erat. Integer elit nibh, condimentum eu aliquet vitae, mollis non felis. Donec rutrum vestibulum porttitor. Curabitur semper gravida posuere. Aliquam erat volutpat. Ut ac dolor sed dolor tempus volutpat. Morbi sit amet posuere. 999cm 999kg Left Offensive Goalkeeper C01 P02 P14

See also