Difference between revisions of "Template:LocationBox"

From TwistedMUCK
Jump to: navigation, search
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
To use this infobox, cut and paste the following into the character page:
+
To use this infobox, cut and paste the following into the location page:
 
<div style="width: 50%;">
 
<div style="width: 50%;">
 
<pre>
 
<pre>
 
{{LocationBox|
 
{{LocationBox|
 
|LocationName={{PAGENAME}}
 
|LocationName={{PAGENAME}}
|Illustration=Missing.jpg
+
|Image=Missing.jpg
|IllusDesc=Image Description
+
|ImageB=
|Map=Missing.jpg
+
|Image2=
|Dbref=Dbref Number (If Applicable)
+
|Image2Text=
|Exits=
+
|Exits=<center>Available Exits</center>
* [[Exit 1]]<br />
+
* [[Exit 1]]
* [[Exit 2]]<br />
+
* [[Exit 2]]
 
* Etc...
 
* Etc...
||}}<br />
+
||}}
 
</pre>
 
</pre>
 
</div>
 
</div>
Line 19: Line 19:
 
==Example==
 
==Example==
 
[[Category:Templates]]
 
[[Category:Templates]]
</noinclude>
+
</noinclude>{|  border=1 style="float:right; width: 20em; padding: 0.5em; margin: 0em 1em 1em 1em; background:#111; box-shadow: -3px 3px 5px #000;"
{|  border=1 style="float:right; width: 20em; padding: 0.5em; margin: 1em 0 1em 1em; background-color: #000;"
+
! style="background:#000;" | '''{{{LocationName}}}'''
! colspan=2| '''{{{LocationName}}}'''
+
 
|-
 
|-
|[[File:{{{Illustration}}}|400px|{{{IllusDesc}}}]]
+
| style="border:0;" |[[File:{{{Image}}}|300px|]]{{#if:{{{ImageB|}}}|[[File:{{{ImageB}}}|300px|]]|}}
 
|-
 
|-
| <center>''{{{IllusDesc}}}''</center>
+
| style="background:#000;" |{{{Exits}}}
 
|-
 
|-
|[[File:{{{Map}}}|400px|Map of Area]]  
+
| style="border:0;" |{{#if:{{{Image2|}}}|
|-
+
[[File:{{{Image2}}}|300px|]]|}}{{#if:{{{Image2Text|}}}|
| <center>GRID DBREF: {{{Dbref}}}</center>
+
<center><font style="font-size:10px;">{{{Image2Text}}}</font></center>}}
|-
+
|{{{Exits}}}
+
 
|}
 
|}

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