Games:  Legacy Online | Legacy Dev Hunted Cow Studios 



Difference between revisions of "Template:Gang Structure"

To Login to the wiki, use your username for Legacy and then go here to get your temporary password. - Will (talk)

From Legacy Wiki

Jump to: navigation, search
(Testing template for Gang Structure pages)
 
(Changed 'Usage' section on side of page to better show how to use it)
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{|cellspacing=0 cellpadding=4 style="float:right; width:225px;" class="darkbox"
 
{|cellspacing=0 cellpadding=4 style="float:right; width:225px;" class="darkbox"
 
|-style="vertical-align:top; background: #1A1A1A;" class="graybox"
 
|-style="vertical-align:top; background: #1A1A1A;" class="graybox"
| style="text-align:center" | '''{{{name}}}'''<br />
+
| style="text-align:center" colspan = 4|'''{{{name}}}'''<br />
 
|-
 
|-
|[[{{{image}}}|{{{size}}}px|center]]
+
|[[{{{image}}}|{{{size}}}px|center]]||[[{{{image2}}}|{{{size}}}px|center]]||[[{{{image3}}}|{{{size}}}px|center]]||[[{{{image4}}}|{{{size}}}px|center]]
|-style="vertical-align:top; background: #222222;" class="graybox"{{\n}}| '''Power Change:'''<br /><font style="color: #aaa">{{{price}}}</font>|||
+
|-style="vertical-align:top; background: #222222; height=17px;" class="graybox"{{\n}}| colspan = 2|'''Health:'''<br /><font style="color: #aaa">{{{hp}}}</font>|| colspan = 2|'''Power Change:'''<br /><font style="color: #aaa">{{{power}}}[[image:Gangpower.gif]]</font>||
|-style="vertical-align:top; background: #1A1A1A;" class="graybox"{{\n}}| '''Metal Cost:'''<br /><font style="color: #aaa">{{{description}}}</font>||
+
|-style="vertical-align:top; background: #1A1A1A;" class="graybox"{{\n}}| colspan = 2|'''Metal Cost:'''<br /><font style="color: #aaa">{{{metal}}}[[image:Gangmetal.gif]]</font>|| colspan = 2|'''GP Cost:'''<br /><font style="color: #aaa">{{{gp}}}[[image:Ganggp.png]]</font>||
|-style="vertical-align:top; background: #222222;" class="graybox"{{\n}}| '''GP Cost:'''<br /><font style="color: #aaa">{{{price}}}</font>||
+
|-style="vertical-align:top; background: #222222;" class="graybox"{{\n}}| colspan = 4|'''Limit:'''<br /><font style="color: #aaa">{{{limit}}}</font>||
|-style="vertical-align:top; background: #1A1A1A;" class="graybox"{{\n}}| '''Description:'''<br /><font style="color: #aaa">{{{description}}}</font>||
+
|-style="vertical-align:top; background: #1A1A1A;" class="graybox"{{\n}}| colspan = 4|'''Description:'''<br /><font style="color: #aaa">{{{description}}}</font>||
 
|}
 
|}
  
 
<noinclude>
 
<noinclude>
'''Usage:'''
+
'''Example of format (Needs Template Brackets {{ }} around contents)'''<br><br>
* 1 - Image
+
Gang Structure<br>
* 2 - Image Text
+
| image = image:Gang1mine.gif| image2 = image:Gang2mine.gif| image3 = image:Gang3mine.gif| image4 = image:Gang4mine.gif||<br>
* size - image size in pixels
+
| size = 32<br>
* 3 - Field 1 (optional)
+
| name = Metal Refinery<br>
* 4 - Field 1 Content (optional)
+
| hp = 2,000<br>
* 5 - Field 2 (optional)
+
| power = -25<br>
* 6 - Field 2 Content (optional)
+
| metal = 0<br>
* 7 - Field 3 (optional)
+
| gp = 30<br>
* 8 - Field 3 Content (optional)
+
| limit = N/A<br>
* 9 - Field 4 (optional)
+
| description = Mine deep in to the wastelands and refine metal.<br>
* 10 - Field 4 Content (optional)
+
* 11 - Field 5 (optional)
+
* 12 - Field 5 Content (optional)
+
* 13 - Field 6 (optional)
+
* 14 - Field 6 Content (optional)
+
* below - Option text below
+
  
<pre>{{Gang Structure
 
|File:Example.jpg
 
|size = 150
 
|image caption
 
|Field 1
 
|Field 1 content
 
|below=below content
 
}}</pre>
 
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 13:17, 29 October 2022

{{{name}}}
[[{{{image}}}|{{{size}}}px|center]] [[{{{image2}}}|{{{size}}}px|center]] [[{{{image3}}}|{{{size}}}px|center]] [[{{{image4}}}|{{{size}}}px|center]]
Health:
{{{hp}}}
Power Change:
{{{power}}}Gangpower.gif
Metal Cost:
{{{metal}}}Gangmetal.gif
GP Cost:
{{{gp}}}Ganggp.png
Limit:
{{{limit}}}
Description:
{{{description}}}


Example of format (Needs Template Brackets {{ }} around contents)

Gang Structure
| image = image:Gang1mine.gif| image2 = image:Gang2mine.gif| image3 = image:Gang3mine.gif| image4 = image:Gang4mine.gif||
| size = 32
| name = Metal Refinery
| hp = 2,000
| power = -25
| metal = 0
| gp = 30
| limit = N/A
| description = Mine deep in to the wastelands and refine metal.