Difference between revisions of "Template:Locations"

From LGPedia
Jump to: navigation, search
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox" align="right" style="border:#000 1px solid;margin-left:2em;margin-bottom:2em;width: 21em; text-align: left; font-size: 90%;background: #fff;" cellspacing="2"
+
{| class="infobox" align="right" style="border:#aaa 1px solid;margin-left:2em;margin-bottom:2em;width: 21em; text-align: left; font-size: 90%;background: #fff;" cellspacing="2"
 
|+ style="margin-left:2em;" |  
 
|+ style="margin-left:2em;" |  
 
|-
 
|-
| style="background: {{#ifeq:{{{KM}}}|yes|<nowiki>#</nowiki>653373|{{#ifeq:{{{RES}}}|yes|<nowiki>#</nowiki>71B642|{{#ifeq:{{{N1}}}|yes|<nowiki>#</nowiki>800080|steelblue}}}}}}; font-size: 110%;color:white;" align="center"| '''{{{name}}}'''
+
| style="color: {{{tcolor|{{Locations/tcolor|{{{series}}}}}}}}; background: {{{color|{{Locations/color|{{{series}}}}}}}}; font-size: 110%;" align="center"| '''{{{name}}}'''
 
|-
 
|-
 
|style="font-size: 100%;" align="center" colspan="1" |
 
|style="font-size: 100%;" align="center" colspan="1" |
Line 8: Line 8:
 
| Image not available.<br />Please [[Special:Upload | add]] one.<includeonly>[[Category:Locations needing images]]</includeonly>}}
 
| Image not available.<br />Please [[Special:Upload | add]] one.<includeonly>[[Category:Locations needing images]]</includeonly>}}
 
|-  
 
|-  
| style="text-align: center; background: {{#ifeq:{{{KM}}}|yes|<nowiki>#</nowiki>653373|{{#ifeq:{{{RES}}}|yes|<nowiki>#</nowiki>71B642
+
| style="text-align: center; color: {{{tcolor|{{Locations/tcolor|{{{series}}}}}}}}; background: {{{color|{{Locations/color|{{{series}}}}}}}}; font-size: 110%;" | '''Appearances'''  
|{{#ifeq:{{{N1}}}|yes|<nowiki>#</nowiki>800080|steelblue}}}}}}; font-size: 110%;color:white;;" | '''Appearances'''  
+
 
|- valign=top
 
|- valign=top
|style="width:8em"|
+
|style="width:20em"|
 
{{{appearances}}}
 
{{{appearances}}}
 
|-
 
|-
|}<includeonly>{{#ifeq:{{{KM}}}|yes|[[Category:KateModern locations]]|{{#ifeq:{{{RES}}}|yes|[[Category:LG15: The Resistance locations]]|{{#ifeq:{{{N1}}}|yes|[[Category:N1ckola locations]]|[[Category:Lonelygirl15 locations]]}}}}}}</includeonly>
+
|}<includeonly>{{#switch: {{lc:{{{series}}}}}
 +
| lg15    = [[Category:Lonelygirl15 locations]]
 +
| km      = [[Category:KateModern locations]]
 +
| res      = [[Category:LG15: The Resistance locations]]
 +
| n1      = [[Category:N1ckola locations]]
 +
| last    = [[Category:LG15: The Last locations]] }}</includeonly>
 
<noinclude>
 
<noinclude>
 
== Usage ==
 
== Usage ==
 
<pre>
 
<pre>
 
{{Locations
 
{{Locations
| name            =
+
| name            =  
| image          =
+
| image          =  
| appearances    =
+
| appearances    =  
 
+
| series          = LG15, KM, RES, N1, or LAST
<!-- If this is a non-LG15 location, add one of these lines.
+
    Otherwise, omit them. -->
+
| KM              = yes
+
| RES             = yes
+
| N1             = yes
+
 
}}</pre>
 
}}</pre>
 
[[Category:Templates|{{PAGENAME}}]]
 
[[Category:Templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Latest revision as of 00:35, 10 March 2009

{{{name}}}

Image not available.
Please add one.

Appearances

{{{appearances}}}

Usage

{{Locations
| name            = 
| image           = 
| appearances     = 
| series          = LG15, KM, RES, N1, or LAST
}}