Difference between revisions of "Template:Locations"
From LGPedia
m (Changing category sort key) |
m (Testing KM template merge) |
||
Line 2: | Line 2: | ||
|+ style="margin-left:2em;" | | |+ style="margin-left:2em;" | | ||
|- | |- | ||
− | | style="background: steelblue; font-size: 110%;color:white;" align="center"| '''{{{name}}}''' | + | | style="background: {{#ifeq:{{{KM}}}|yes|#ae2301|steelblue}}; font-size: 110%;color:white;" 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: steelblue; font-size: 110%;color:white;;" | '''Appearances''' | + | | style="text-align: center; background: {{#ifeq:{{{KM}}}|yes|#ae2301|steelblue}}; font-size: 110%;color:white;;" | '''Appearances''' |
|- valign=top | |- valign=top | ||
|style="width:8em"| | |style="width:8em"| | ||
{{{appearances}}} | {{{appearances}}} | ||
|- | |- | ||
− | |}<includeonly>[[Category:Locations]]</includeonly> | + | |}<includeonly>{{#ifeq:{{{KM}}}|yes|[[Category:KateModern locations]]|[[Category:Locations]]}}</includeonly> |
<noinclude> | <noinclude> | ||
== Usage == | == Usage == | ||
Line 21: | Line 21: | ||
| image = | | image = | ||
| appearances = | | appearances = | ||
+ | |||
+ | <!-- If this is a KateModern location, add this line. | ||
+ | Otherwise, omit it. --> | ||
+ | | KM = yes | ||
}}</pre> | }}</pre> | ||
[[Category:Templates|{{PAGENAME}}]] | [[Category:Templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |
Revision as of 16:28, 31 December 2007
{{{name}}} |
Image not available. |
Appearances |
{{{appearances}}} |
Usage
{{Locations | name = | image = | appearances = <!-- If this is a KateModern location, add this line. Otherwise, omit it. --> | KM = yes }}