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
 
(10 intermediate revisions by 3 users 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"
|[[{{{1|}}}|150px|thumbnail|center|{{{2|}}}]]
+
{{#if||{{{1|}}}||{{\n}}|[[{{{1|}}}|{{{size|150}}}px|thumbnail|center|{{{2|}}}]]}}
|-style="vertical-align:top; background: #222222;" class="graybox"
+
{{#if||{{{3|}}}||{{\n}}|-style="vertical-align:top; background: #222222;" class="graybox"{{\n}}| '''{{{3|}}}:'''<br /><font style="color: #aaa">{{{4|}}}</font>||}}
| '''{{{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>||}}
+
{{#if||{{{7|}}}||{{\n}}|-style="vertical-align:top; background: #222222;" class="graybox"{{\n}}| '''{{{7|}}}:'''<br /><font style="color: #aaa">{{{8|}}}</font>||}}
{{#if||{{{7|}}}||\n|-style="vertical-align:top; background: #222222;" class="graybox"\n| '''{{{7|}}}:'''<br /><font style="color: #aaa">{{{8|}}}</font>||}}
+
{{#if||{{{9|}}}||{{\n}}|-style="vertical-align:top; background: #1A1A1A;" class="graybox"{{\n}}| '''{{{9|}}}:'''<br /><font style="color: #aaa">{{{10|}}}</font>||}}
{{#if||{{{9|}}}||\n|-style="vertical-align:top; background: #1A1A1A;" class="graybox"\n| '''{{{9|}}}:'''<br /><font style="color: #aaa">{{{10|}}}</font>||}}
+
{{#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>}}
 
|}
 
|}
 
 
  
 
<noinclude>
 
<noinclude>
Line 17: Line 15:
 
* 1 - Image
 
* 1 - Image
 
* 2 - Image Text
 
* 2 - Image Text
* 3 - Field 1
+
* size - image size in pixels
* 4 - Field 1 Content
+
* 3 - Field 1 (optional)
 +
* 4 - Field 1 Content (optional)
 
* 5 - Field 2 (optional)
 
* 5 - Field 2 (optional)
 
* 6 - Field 2 Content (optional)
 
* 6 - Field 2 Content (optional)
Line 29: 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
 +
|image caption
 +
|Field 1
 +
|Field 1 content
 +
|below=below content
 +
}}</pre>
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 09:05, 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
|image caption
|Field 1
|Field 1 content
|below=below content
}}