Games:  Legacy Online | Legacy Dev Hunted Cow Studios 



Difference between revisions of "Template:Sidebox"

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
m
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"
{{#if||{{{1|}}}||{{\n}}|[[{{{1|}}}|150px|thumbnail|center|{{{2|}}}]]}}
+
{{#if||{{{1|}}}||{{\n}}|[[{{{1|}}}|{{{size|150}}px|thumbnail|center|{{{2|}}}]]}}
 
{{#if||{{{3|}}}||{{\n}}|-style="vertical-align:top; background: #222222;" class="graybox"{{\n}}| '''{{{3|}}}:'''<br /><font style="color: #aaa">{{{4|}}}</font>||}}
 
{{#if||{{{3|}}}||{{\n}}|-style="vertical-align:top; background: #222222;" class="graybox"{{\n}}| '''{{{3|}}}:'''<br /><font style="color: #aaa">{{{4|}}}</font>||}}
 
{{#if||{{{5|}}}||{{\n}}|-style="vertical-align:top; background: #1A1A1A;" class="graybox"{{\n}}| '''{{{5|}}}:'''<br /><font style="color: #aaa">{{{6|}}}</font>||}}
 
{{#if||{{{5|}}}||{{\n}}|-style="vertical-align:top; background: #1A1A1A;" class="graybox"{{\n}}| '''{{{5|}}}:'''<br /><font style="color: #aaa">{{{6|}}}</font>||}}
Line 8: Line 8:
 
{{#if||{{{11|}}}||{{\n}}|-style="vertical-align:top; background: #222222;" class="graybox"{{\n}}| '''{{{11|}}}:'''<br /><font style="color: #aaa">{{{12|}}}</font>||}}
 
{{#if||{{{11|}}}||{{\n}}|-style="vertical-align:top; background: #222222;" class="graybox"{{\n}}| '''{{{11|}}}:'''<br /><font style="color: #aaa">{{{12|}}}</font>||}}
 
{{#if||{{{13|}}}||{{\n}}|-style="vertical-align:top; background: #1A1A1A;" class="graybox"{{\n}}| '''{{{13|}}}:'''<br /><font style="color: #aaa">{{{14|}}}</font>||}}
 
{{#if||{{{13|}}}||{{\n}}|-style="vertical-align:top; background: #1A1A1A;" class="graybox"{{\n}}| '''{{{13|}}}:'''<br /><font style="color: #aaa">{{{14|}}}</font>||}}
 +
{{#if||{{{below|}}}||{{\n}}|-style="vertical-align:top; background: #1A1A1A;" class="graybox"{{\n}}|<center>{{{below|}}}</center>}}
 
|}
 
|}
  
Line 14: Line 15:
 
* 1 - Image
 
* 1 - Image
 
* 2 - Image Text
 
* 2 - Image Text
 +
* size - image size in pixels
 
* 3 - Field 1 (optional)
 
* 3 - Field 1 (optional)
 
* 4 - Field 1 Content (optional)
 
* 4 - Field 1 Content (optional)
Line 26: Line 28:
 
* 13 - Field 6 (optional)
 
* 13 - Field 6 (optional)
 
* 14 - Field 6 Content (optional)
 
* 14 - Field 6 Content (optional)
 +
* below - Option text below
 +
 +
<pre>{{Sidebox
 +
|File:Example.jpg
 +
|size = 150
 +
|Field 1
 +
|Field 1 content
 +
|below=below content
 +
}}</pre>
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 08:53, 27 April 2011


Usage:

  • 1 - Image
  • 2 - Image Text
  • size - image size in pixels
  • 3 - Field 1 (optional)
  • 4 - Field 1 Content (optional)
  • 5 - Field 2 (optional)
  • 6 - Field 2 Content (optional)
  • 7 - Field 3 (optional)
  • 8 - Field 3 Content (optional)
  • 9 - Field 4 (optional)
  • 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
{{Sidebox
|File:Example.jpg
|size = 150
|Field 1
|Field 1 content
|below=below content
}}