Difference between revisions of "Template:Book/Layout"

From FreewarWiki
Jump to: navigation, search
m (skill -> Skill)
 
(11 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{TemplateWarning}}
+
{{TemplateWarning}}{{GermanLinking|Name:DE={{{Name:DE|none}}}}}<!--
{{GermanLinking|Name:DE={{{Name:DE|none}}}}}
+
Initialisiation of {{#var:Skill}}
 +
-->{{#vardefine:Skill|{{#ifeq:{{{Skill| }}}| |{{#regex:{{FULLPAGENAME}}|/Book of(.+?)/| }}|{{{Skill|{{#regex:{{FULLPAGENAME}}|/Book of(.+?)/| }}}}}}}}}
 
{| width="500px" style="{{Book/Colours}} solid 2px;" |
 
{| width="500px" style="{{Book/Colours}} solid 2px;" |
 
  | width="60px" align="center" valign="middle" rowspan="3" style="{{Book/Colours}} outset 2px; margin-right:15px;" | http://world1.freewar.com/freewar/images/items/buch.gif
 
  | width="60px" align="center" valign="middle" rowspan="3" style="{{Book/Colours}} outset 2px; margin-right:15px;" | http://world1.freewar.com/freewar/images/items/buch.gif
Line 6: Line 7:
 
  | '''{{PAGENAME}}'''  
 
  | '''{{PAGENAME}}'''  
 
  |-
 
  |-
  | By using this book you will gain the skill {{{Skill}}}. {{{Description}}} This book will dissolve after using it. {{#ifeq:{{{Description2|none}}}|none||{{{Descriptiong2}}}}}
+
  | By applying the knowledge contained in this book, you acquire the {{#var:Skill}} Skill. {{{Description}}}
 
  |-
 
  |-
 
  | ''(Spell, Level: 0)''
 
  | ''(Spell, Level: 0)''
Line 12: Line 13:
 
{| width="500px" |
 
{| width="500px" |
 
  | width="49%" rowspan="2" | '''Requirements:'''
 
  | width="49%" rowspan="2" | '''Requirements:'''
* The [[Skill|skill]] [[{{{Skill}}}]] was not learned before.
+
* The [[{{#var:Skill}}]] [[Skill]] has not been acquired yet.
{{#ifeq:{{{Requirements|none}}}|none||{{{Requirements}}}
+
{{{Requirements|}}}
}}
 
 
  | &nbsp;
 
  | &nbsp;
 
  | width="49%" | '''Origin:'''
 
  | width="49%" | '''Origin:'''
Line 20: Line 20:
 
  |-
 
  |-
 
  | &nbsp;
 
  | &nbsp;
  | width="49%" | '''MaximumLevel:'''
+
  | width="49%" | '''Maximum Level:'''
 
{{{Max}}}
 
{{{Max}}}
 
  |-
 
  |-
  | '''Other:'''
+
  | '''Miscellaneous:'''
* This [[Book|book]] dissolves when using it.
+
* This [[Book]] dissolves when using it.
 
  | &nbsp;
 
  | &nbsp;
 
  | '''Function:'''
 
  | '''Function:'''
* You will learn the [[Skill|skill]] [[{{{Skill}}}]] on level 1.
+
* You will acquire the [[{{#var:Skill}}]] [[Skill]] at Level 1.
 
  |-
 
  |-
 
  | colspan="3" | '''Price:'''
 
  | colspan="3" | '''Price:'''
Line 33: Line 33:
 
* Default [[Purchase Price]]:<br />{{{BuyPrice}}} [[Gold]]
 
* Default [[Purchase Price]]:<br />{{{BuyPrice}}} [[Gold]]
 
}}
 
}}
* Default [[Price of Sale]]:<br />{{{SellPrice}}} [[Gold]]
+
* Default [[Sale Price]]:<br />{{{SellPrice|{{#ifeq:{{{BuyPrice|none}}}|none|{{{SellPrice}}}|{{#expr:{{{BuyPrice}}} / 2}}}}}}} [[Gold]]
 
{{#ifeq:{{{MarketPrice|none}}}|none||*[[MarketPrice]]:<br />{{{MarketPrice}}} [[Gold]]}}
 
{{#ifeq:{{{MarketPrice|none}}}|none||*[[MarketPrice]]:<br />{{{MarketPrice}}} [[Gold]]}}
<sup>'''Attention:''' {{#ifeq:{{{MarketPricePage|none}}}|none|This are the default prices at the [[shop]]s. The [[MarketPrice|market price]]s when trading with other players can vary!|{{#ifeq:{{{MarketPrice|none}}}|none|This is a item, which price when trading with other players will vary noticeably. Details can be found [[MarketPrice:{{PAGENAME}}|here.]]|This is the normal default price for this item, but its price can still vary in the different worlds. Details can be found on the[[MarketPrice:{{PAGENAME}}|Market Price Page]].}}}}</sup>
+
<sup>'''Attention:''' {{#ifeq:{{{MarketPricePage|none}}}|none|This are the default prices at the [[shop]]s. The [[MarketPrice|market price]]s when trading with other players can vary!|{{#ifeq:{{{MarketPrice|none}}}|none|This is an item whose price will vary noticeably when trading with other players. Details can be found [[MarketPrice:{{PAGENAME}}|here.]]|This is the default price for this item, but its price can still vary in the different worlds. Details can be found on the [[MarketPrice:{{PAGENAME}}|Market Price Page]].}}}}</sup>
 +
{{#ifeq:{{{Background|none}}}|none||
 +
{{!}}-
 +
{{!}} colspan="3" {{!}} '''Background:'''<br />
 +
{{{Background}}}
 +
}}
 
  |}
 
  |}
  
Line 42: Line 47:
 
{{#ifeq:{{NAMESPACE}}||
 
{{#ifeq:{{NAMESPACE}}||
 
[[Category:All Items]]
 
[[Category:All Items]]
[[Category:Books|{{{Skill}}}]]
+
[[Category:Books|{{#var:Skill}}]]
 
{{{AdditionalCategories|}}}
 
{{{AdditionalCategories|}}}
 
}}
 
}}
 
<noinclude>
 
<noinclude>
{{Template Documentation|This template contains the source code for general item articles.|This template can be incorporated by using '''<tt><nowiki>{{Book/Layout}}</nowiki></tt>'''. Parameters are given in[[Template:Book]]. It will be incorporated automatically.}}
+
{{Template Documentation|This template contains the source code for Book articles.|This template can be incorporated by using '''<tt><nowiki>{{Book/Layout}}</nowiki></tt>'''. The parameters are given in [[Template:Book]]. It will be incorporated automatically.}}
  
 
[[Category:ArticleLayout|Book]]
 
[[Category:ArticleLayout|Book]]
 
</noinclude>
 
</noinclude>

Latest revision as of 19:58, 20 November 2010

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

buch.gif Book/Layout
By applying the knowledge contained in this book, you acquire the Template:Book/Layout Skill. {{{Description}}}
(Spell, Level: 0)
Requirements:
  • The Template:Book/Layout Skill has not been acquired yet.
  Origin:

{{{Origin}}}

  Maximum Level:

{{{Max}}}

Miscellaneous:
  • This Book dissolves when using it.
  Function:
  • You will acquire the Template:Book/Layout Skill at Level 1.
Price:

Attention: This are the default prices at the shops. The market prices when trading with other players can vary!



Documentation

Usage
This template contains the source code for Book articles.

Integration
This template can be incorporated by using {{Book/Layout}}. The parameters are given in Template:Book. It will be incorporated automatically.