Jump to content

Template:Infobox team: Difference between revisions

From Worm Wiki
Gesshoku (talk | contribs)
No edit summary
Ineni (talk | contribs)
Infobox updated using the portable infobox migration tool
Line 1: Line 1:
<infobox>
<title source="name"><default>{{PAGENAME}}</default></title>
<image source="image"><caption source="imagecaption"/></image>
<data source="leader(s)"><label>'''Leader(s)'''</label></data>
<data source="alliedOrg"><label>'''Allies'''</label></data>
</infobox>
<noinclude>
== Usage & preview ==
Type in this:


<pre>
{{Infobox/Worm/Team
|name=
|leader(s)=
|alliedOrg=
}}


</pre>


{|border="1" cellpadding="2" cellspacing="2" style="{{Radius|7px|7px|7px|7px}} float: right; font-size:90%; width:26em;"
to see this:
|colspan="2" style="{{Radius|7px|7px|7px|7px}} text-align:center; font-size:130%; font-weight:bold; background: {{{tblColour}}}; color: {{{textColour}}}; background-image:-moz-linear-gradient(top,{{{tblColour}}} 20%,#000000 80%);background-image:-webkit-linear-gradient(top,{{{tblColour}}} 20%,#000000 80%); -moz-border-radius: 7px;"| {{{name|{{PAGENAME}}}}}
 
|-
{{Infobox/Worm/Team
|- valign="top"
|name=This is a test
| style="color: {{{textColour}}}; background: {{{tblColour}}}; background-image:-moz-linear-gradient(top,{{{tblColour}}} 20%,#000000 80%);background-image:-webkit-linear-gradient(top,{{{tblColour}}} 20%,#000000 80%); -moz-border-radius: 7px;" | '''Leader(s)'''
|leader(s)=This is a test
| style="color: white; background: #000000; width:16em;" | {{{leader(s)}}}
|alliedOrg=This is a test
|- valign="top"
}}
| style="color: {{{textColour}}}; background: {{{tblColour}}}; background-image:-moz-linear-gradient(top,{{{tblColour}}} 20%,#000000 80%);background-image:-webkit-linear-gradient(top,{{{tblColour}}} 20%,#000000 80%); -moz-border-radius: 7px;" | '''Allies'''
 
| style="color: white; background: #000000; width:16em;" | {{{alliedOrg}}}
 
|-
[{{fullurl:{{ns:Template}}:{{PAGENAME}}}}?action=purge Click here to refresh the preview above]
|}<noinclude>
{{Clear}}
== Template Usage ==
<nowiki>{{Template:Infobox/Worm/Team
| tblColour = <insert colour you want the table to be>
| textColour = <insert colour you want the caption to be>
| name =
| leader(s)=
| alliedOrg =
}}</nowiki>
[[Category:Infobox Templates]]
</noinclude>
</noinclude>

Revision as of 04:47, February 5, 2016

<infobox> <title source="name"><default>Infobox team</default></title>

<image source="image"></image> <label>Leader(s)</label> <label>Allies</label> </infobox>

Usage & preview

Type in this:

{{Infobox/Worm/Team
|name=
|leader(s)=
|alliedOrg=
}}

to see this:

<infobox> <title source="name"><default>Infobox team</default></title>

<image source="image"></image> <label>Leader(s)</label> <label>Allies</label> </infobox> Click here to refresh the preview above