Difference between revisions of "Template:LocationBox"

From TwistedMUCK
Jump to: navigation, search
 
Line 6: Line 6:
 
|LocationName={{PAGENAME}}
 
|LocationName={{PAGENAME}}
 
|Image=Missing.jpg
 
|Image=Missing.jpg
 +
|ImageB=
 +
|Image2=
 +
|Image2Text=
 
|Exits=<center>Available Exits</center>
 
|Exits=<center>Available Exits</center>
 
* [[Exit 1]]
 
* [[Exit 1]]
Line 19: Line 22:
 
! style="background:#000;" | '''{{{LocationName}}}'''
 
! style="background:#000;" | '''{{{LocationName}}}'''
 
|-
 
|-
| style="border:0;" |[[File:{{{Image}}}|300px|]]
+
| style="border:0;" |[[File:{{{Image}}}|300px|]]{{#if:{{{ImageB|}}}|[[File:{{{ImageB}}}|300px|]]|}}
 
|-
 
|-
 
| style="background:#000;" |{{{Exits}}}
 
| style="background:#000;" |{{{Exits}}}
 +
|-
 +
| style="border:0;" |{{#if:{{{Image2|}}}|
 +
[[File:{{{Image2}}}|300px|]]|}}{{#if:{{{Image2Text|}}}|
 +
<center><font style="font-size:10px;">{{{Image2Text}}}</font></center>}}
 
|}
 
|}

Latest revision as of 04:46, 17 November 2021

To use this infobox, cut and paste the following into the location page:

{{LocationBox|
|LocationName={{PAGENAME}}
|Image=Missing.jpg
|ImageB=
|Image2=
|Image2Text=
|Exits=<center>Available Exits</center>
* [[Exit 1]]
* [[Exit 2]]
* Etc...
||}}

Example

{{{LocationName}}}
[[File:{{{Image}}}|300px|]]
{{{Exits}}}
Personal tools