Category
![]() |
You're no bot and a page you've created got automatically deleted? Add your name to FreewarWiki:NoSpamUser | ![]() |
Difference between revisions of "Template:Place/Layout"
From FreewarWiki
m |
|||
Line 1: | Line 1: | ||
− | { | + | <noinclude>{{TemplateWarning}}</noinclude> |
− | + | {{#ifeq:{{{Old Field|none}}}|none|| | |
− | |||
− | |||
− | |||
{{Old}} | {{Old}} | ||
{{This Article|describes an earlier version[[{{{Old Field}}}]].}} | {{This Article|describes an earlier version[[{{{Old Field}}}]].}} | ||
− | }}{{#ifeq:{{{Old Version|none}}}|none|| | + | }} |
+ | {{#ifeq:{{{Old Version|none}}}|none|| | ||
{{Alternative|An <b><includeonly>[[{{{Old Version}}}|'''old ''']]</includeonly></b> version exists of this [[Field]] '''{{PAGENAME}}'''.}} | {{Alternative|An <b><includeonly>[[{{{Old Version}}}|'''old ''']]</includeonly></b> version exists of this [[Field]] '''{{PAGENAME}}'''.}} | ||
}} | }} | ||
− | + | -->{{#vardefine:layout_classname|{{#ifeq:{{{RP|none}}}|none|place|place_rp}}}}<!-- | |
− | + | -->{{#vardefine:desc_title|'''{{{Name|{{PAGENAME}}}}}'''}}<!-- | |
− | + | -->{{#vardefine:image|{{{Image}}}}}<!-- | |
− | + | -->{{#vardefine:desc|{{{Description}}}}}<!-- | |
− | + | -->{{#vardefine:date|{{#ifeq:{{{Date|none}}}|none|The place was inserted on '''{{Formatdate|{{{Date}}}}}''' }}}}<!-- | |
− | + | --><div class="{{#var:layout_classname}}_layout" style="min-width: 500px; width: 33%; float: left; margin-right: 2em;"> | |
− | + | {{Layout/Head}} | |
− | + | <sup style="text-align: center; display: block;">''(Coordinates: ''X'':{{{X}}}, ''Y'':{{{Y}}} in [[Area]]: {{Arealink|{{{Area}}}}})''</sup> | |
− | { | + | {{#ifeq:{{{Product|none}}}{{{Chattext|none}}}{{{Quest|none}}}{{{Function|}}}|nonenonenone|| |
− | {{#ifeq:{{{ | + | <div class="layout_function"> |
− | + | '''Function:''' | |
− | |||
− | }} | ||
− | |||
{{#ifeq:{{{Product|none}}}|none|| | {{#ifeq:{{{Product|none}}}|none|| | ||
− | * This is | + | * This is an [[Levels of extension|upgradeable]] building, the [[Item]] {{{Product}}} is produced here.<br /><small>→ See [[{{PAGENAME}}/Extension|Levels of extension]]</small> |
{{#ifeq:{{{Chattext|none}}}|none|| | {{#ifeq:{{{Chattext|none}}}|none|| | ||
− | + | {{Chat/Action|ExampleUser|{{{Chattext}}}}} | |
− | + | }}}} | |
− | + | {{#ifeq:{{{Quest|none}}}|none|| | |
− | + | * This item belongs to a [[Quest:{{{Quest}}}|Quest]]. | |
− | |||
− | * | ||
}} | }} | ||
− | + | {{{Function|}}} | |
− | + | </div>}} | |
+ | <div class="layout_miscellaneous"> | ||
+ | '''Miscellaneous:''' | ||
{{#ifeq:{{{Friendly|none}}}|none|| | {{#ifeq:{{{Friendly|none}}}|none|| | ||
− | * This is a | + | * This is a hallowed field, attacks are impossible. |
}} | }} | ||
{{{Miscellaneous|{{#ifeq:{{{Friendly|none}}}|none|''nothing''}}}}} | {{{Miscellaneous|{{#ifeq:{{{Friendly|none}}}|none|''nothing''}}}}} | ||
+ | </div> | ||
{{#ifeq:{{{History|none}}}|none|| | {{#ifeq:{{{History|none}}}|none|| | ||
− | + | <div class="layout_history"> | |
− | + | '''History:''' | |
− | {{{ | + | |
+ | {{{History}}} | ||
+ | </div>}} | ||
+ | </div> | ||
+ | {{#ifeq:{{{Map|}}}|none|| | ||
+ | <div class="area_on_map" style="float: left;">{{AreaOnMap|X={{{X}}}|Y={{{Y}}}|Area={{{Area}}}}}</div> | ||
}} | }} | ||
− | + | <br style="clear: both;"> | |
− | + | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | {{ForAll|{{{Name|{{PAGENAME}}}}}}} | |
+ | {{#ifeq:{{NAMESPACE}}||<!-- | ||
-->[[Category:Places]]<!-- | -->[[Category:Places]]<!-- | ||
− | -->{{#ifeq:{{{ | + | -->{{#ifeq:{{{AreaCat|{{{Area|none}}}}}}|none||[[Category:{{{Area}}} (Places)]]}}<!-- |
− | -->{{#ifeq:{{{Friendly|none}}}|none||[[Category: | + | -->{{#ifeq:{{{Friendly|none}}}|none||[[Category:Hallowed Field]]}}<!-- |
− | -->{{#ifeq:{{{Old Field|none}}}|none||[[Category:Old | + | -->{{#ifeq:{{{Old Field|none}}}|none||[[Category:Old Field]]}}<!-- |
− | -->{{{ | + | -->{{{AditionalCategory|}}}}}<!-- |
− | -->{{#ifeq:{{#var: | + | -->{{#ifeq:{{#var:descriptionfalse}}|true|[[Category:False Description (Place)]]|}}<noinclude>{{Documentation}} |
− | + | ||
− | {{ | ||
[[Category:ArticleLayout|Place]] | [[Category:ArticleLayout|Place]] | ||
</noinclude> | </noinclude> |
Revision as of 16:27, 10 April 2015
Error creating thumbnail: Unable to save thumbnail to destination
|
This template is designed to be used in other articles. You will not need to change it when creating another article. If you need help when using it, have a look at our help page. Parameters and optional parameters can be found here. Please take the template convention into account.
Your FreewarWiki-Team |
{{{Image}}}
Place/Layout
{{{Description}}}
Release date unknown.
(Coordinates: X:{{{X}}}, Y:{{{Y}}} in Area: [[{{{Area}}}|{{{Area}}}]] )
Miscellaneous:
nothing
[Create] Documentation
No documentation page has been created for this template. If you are familiar with this template, you should create a documentation page. For more information, see Help:Templates.