Template:LocationSmall: Difference between revisions

From Yogstation-13
Jump to navigation Jump to search
(Created page with "{|class="wikitable" style="width: 250px; float:right;" |bgcolor="{{{headerbgcolor|#bbbbbb}}}" align="center" |<font color="{{{headerfontcolor|#000000}}}">'''{{{name|Undefined}...")
 
mNo edit summary
 
(12 intermediate revisions by the same user not shown)
Line 2: Line 2:
|bgcolor="{{{headerbgcolor|#bbbbbb}}}" align="center" |<font color="{{{headerfontcolor|#000000}}}">'''{{{name|Undefined}}}'''</font>
|bgcolor="{{{headerbgcolor|#bbbbbb}}}" align="center" |<font color="{{{headerfontcolor|#000000}}}">'''{{{name|Undefined}}}'''</font>
|-
|-
|bgcolor="{{{headerbgcolor|#bbbbbb}}}" align="center" |([[{{{directimg}}} view fullscreen]])
|bgcolor="{{{imagebgcolor|#cccccc}}}" align="center" style="padding:15px;" valign="center"| [[File:{{{img}}}|220px]]<br />
|-
{{#if:{{{directimg|}}}|(<span class="plainlinks">[{{{directimg}}} Click to enlarge]</span>)|(<span class="plainlinks">[[Special:Redirect/file/{{{img}}} | Click to enlarge]]</span>)}}
|bgcolor="{{{imagebgcolor|#cccccc}}}" align="center" style="padding:15px;" valign="center"| [[File:{{{img}}}|220px]]
|}
|}RAoffice.png
<noinclude>
<noinclude>


Line 17: Line 16:
'''name''' is the name of the location<br>
'''name''' is the name of the location<br>
'''img''' is the image of the location, without the "File:" or "Image:" prefix. Eg. "Brig.png"<br>
'''img''' is the image of the location, without the "File:" or "Image:" prefix. Eg. "Brig.png"<br>
'''directimg''' is the direct link of the image. Eg. "http://wiki.yogstation.com/Brig.png"<br>
'''directimg''' ''(optional)'' is the a bigger image. Eg. "http:<nowiki></nowiki>//imgur.com/something.png"<br>


== Examples ==
== Examples ==
{{LocationSmall
{{LocationSmall
|headerbgcolor = darkblue
|headerbgcolor = darkblue
|headerfontcolor = black
|headerfontcolor = white
|imagebgcolor = #eeeeff
|imagebgcolor = #eeeeff
|img = CaptainsQuarters.png
|img = CaptainsQuarters.png
|directimg = http://wiki.yogstation.com/images/1/1c/CaptainsQuarters.png
|name = Captain's Quarters
|name = Captain's Quarters
}}
}}

Latest revision as of 11:34, 23 August 2014

Undefined
[[File:{{{img}}}|220px]]

([[Special:Redirect/file/{{{img}}} | Click to enlarge]])


Same as Template:Location but more compact.

Meaning of parameters

headerbgcolor is the background color of the titles.
headerfontcolor is the font color of the same part as headerbgcolor
imagebgcolor is the background color of the space behind the image, it should be lighter than the headerbgcolor, for aesthetics.
name is the name of the location
img is the image of the location, without the "File:" or "Image:" prefix. Eg. "Brig.png"
directimg (optional) is the a bigger image. Eg. "http://imgur.com/something.png"

Examples

Captain's Quarters
CaptainsQuarters.png

( Click to enlarge)