Template:LocationSmall: Difference between revisions

From Yogstation-13
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{|class="wikitable" style="width: 250px; float:right;"
{|class="wikitable" style="width: 250px; float:right;"
|bgcolor="{{{headerbgcolor|#bbbbbb}}}" align="center" |<font color="{{{headerfontcolor|#000000}}}">'''{{{name|Undefined}}}'''
|bgcolor="{{{headerbgcolor|#bbbbbb}}}" align="center" |<font color="{{{headerfontcolor|#000000}}}">'''{{{name|Undefined}}}'''</font>
([[{{{directimg}}} view fullscreen]])</font>
|-
|-
|bgcolor="{{{imagebgcolor|#cccccc}}}" align="center" style="padding:15px;" valign="center"| [[File:{{{img}}}|220px]]
|bgcolor="{{{imagebgcolor|#cccccc}}}" align="center" style="padding:15px;" valign="center"| [[File:{{{img}}}|220px]]<br />([[{{{directimg}}} view fullscreen]])
|}RAoffice.png
|}
<noinclude>
<noinclude>



Revision as of 12:01, 18 August 2014

Undefined
[[File:{{{img}}}|220px]]
([[{{{directimg}}} view fullscreen]])


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 is the direct link of the image. Eg. "http://wiki.yogstation.com/Brig.png"

Examples

Captain's Quarters
CaptainsQuarters.png
([view fullscreen])