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:Book/Layout"
From FreewarWiki
(mal sehn) |
|||
(9 intermediate revisions by 4 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 | + | | 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 | + | * The [[{{#var:Skill}}]] [[Skill]] has not been acquired yet. |
− | + | {{{Requirements|}}} | |
− | }} | ||
| | | | ||
| width="49%" | '''Origin:''' | | width="49%" | '''Origin:''' | ||
Line 20: | Line 20: | ||
|- | |- | ||
| | | | ||
− | | width="49%" | ''' | + | | width="49%" | '''Maximum Level:''' |
{{{Max}}} | {{{Max}}} | ||
|- | |- | ||
| '''Miscellaneous:''' | | '''Miscellaneous:''' | ||
− | * This [[Book | + | * This [[Book]] dissolves when using it. |
| | | | ||
| '''Function:''' | | '''Function:''' | ||
− | * You will | + | * 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 | + | * 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 | + | <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|| | {{#ifeq:{{{Background|none}}}|none|| | ||
{{!}}- | {{!}}- | ||
Line 47: | Line 47: | ||
{{#ifeq:{{NAMESPACE}}|| | {{#ifeq:{{NAMESPACE}}|| | ||
[[Category:All Items]] | [[Category:All Items]] | ||
− | [[Category:Books|{{ | + | [[Category:Books|{{#var:Skill}}]] |
{{{AdditionalCategories|}}} | {{{AdditionalCategories|}}} | ||
}} | }} | ||
<noinclude> | <noinclude> | ||
− | {{Template Documentation|This template contains the source code for | + | {{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 |
![]() |
Book/Layout | |
By applying the knowledge contained in this book, you acquire the Template:Book/Layout Skill. {{{Description}}} | ||
(Spell, Level: 0) |
Requirements:
|
Origin:
{{{Origin}}} | |
Maximum Level:
{{{Max}}} | ||
Miscellaneous:
|
Function:
| |
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.