Difference between revisions of "Template:Quest Book"
(New page: <includeonly> {| width="100%" cellspacing="2" cellpadding="2" style="background-color:transparent;" | width="21" | {{{1|{{i}} }}} | align="left" | [[{{{2|Quest Name}}}]] |}</includeonly> <...) |
|||
(5 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{| width="100%" cellspacing="2" cellpadding="2" style="background-color:transparent;" | {| width="100%" cellspacing="2" cellpadding="2" style="background-color:transparent;" | ||
− | | width="21" | {{{1|{{i}} }}} | + | | width="21" | {{{1|{{i}}}}} |
− | | align="left" | [[{{{2|Quest Name}}}]] | + | | align="left" | <span style="{{{3|}}}">[[{{{2|Quest Name}}}]]</span> |
+ | | <div style="{{{5|}}}">{{{4|}}}</div> | ||
|}</includeonly> | |}</includeonly> | ||
<noinclude> | <noinclude> | ||
Line 13: | Line 14: | ||
|- | |- | ||
| align="center" valign="middle" style="font-family:Verdana;font-variant:small-caps;font-weight:bold;" | Editing this page may cause the template to stop working properly for other pages currently using this template. | | align="center" valign="middle" style="font-family:Verdana;font-variant:small-caps;font-weight:bold;" | Editing this page may cause the template to stop working properly for other pages currently using this template. | ||
+ | |} | ||
+ | |||
+ | |||
+ | {| width="100%" style="border:3px dashed #f00;" | ||
+ | | align="center" valign="middle" style="font-family:Verdana;font-variant:small-caps;font-weight:bold;" | This template is outdated! | ||
+ | |- | ||
+ | | align="center" valign="middle" style="font-family:Verdana;font-weight:normal;" | | ||
+ | <small>If you are using this template for a personal questbook, it is recommended you start using [[Template:QuestBook]] instead.</small> | ||
|} | |} | ||
</center> | </center> | ||
Line 20: | Line 29: | ||
== How to Use == | == How to Use == | ||
− | This template can be used to put together a quest book showing both incomplete and completed quests. | + | This template can be used to put together a quest book showing both incomplete and completed quests. The overall template has a transparent background so it can be fit onto any other colored areas. |
=== Incomplete Quest === | === Incomplete Quest === | ||
Line 39: | Line 48: | ||
|} | |} | ||
== Parameters == | == Parameters == | ||
− | The first two parameters are mandatory. Other | + | The first two parameters are mandatory. All others are optional and only add additional information or styles. Other parameters may be added in the future, but they will also be optional and will not interfere with existing uses of this template. |
<pre> | <pre> | ||
− | 1 = Complete/Incomplete | + | 1 = Complete/Incomplete/NotTaken. . choose: {{i}} or {{c}} or {{n}} |
− | 2 = Quest Name. . . . . . . . . . default: Quest Name | + | 2 = Quest Name. . . . . . . . . . . default: Quest Name |
+ | 3 = Quest Name Style (css). . . . . optional, no default | ||
+ | 4 = Additional Info . . . . . . . . optional, no default | ||
+ | 5 = Additional Info Style (css) . . optional, no default | ||
</pre> | </pre> | ||
+ | |||
+ | === 1 === | ||
+ | The first parameter is meant to be one of three templates. Using something besides one of these three will still work but the appearance of the final page may be distorted. | ||
+ | |||
+ | <tt><nowiki>{{i}}</nowiki></tt> = {{i}}= Incomplete<br> | ||
+ | <tt><nowiki>{{c}}</nowiki></tt> = {{c}}= Complete<br> | ||
+ | <tt><nowiki>{{n}}</nowiki></tt> = {{n}}= Quest Not Taken | ||
+ | |||
+ | === 2,3 === | ||
+ | The second parameter is fairly simple; just include the name of the quest. It is also automatically made into a link to that quest's page on the wiki. | ||
+ | |||
+ | The third parameter can be used to style the text of the quest name. It uses inline css. This parameter is automatically surrounded by quotation marks so those are unnecessary. | ||
+ | |||
+ | {| width="100%" | ||
+ | ! ''Code'' | ||
+ | ! ''Output'' | ||
+ | |- | ||
+ | | width="50%" style="border:1px solid #aaa;" | <code><nowiki>{{Quest Book|{{n}}|Thou Dost Jest!|font-color:#f0c;}}</nowiki></code> | ||
+ | | width="50%" style="border:1px solid #aaa;" | {{Quest Book|{{n}}|Thou Dost Jest!|font-color:#f0c;}} | ||
+ | |} | ||
+ | |||
+ | === 4,5 === | ||
+ | The final two parameters are available if additional information about the quest is desired and the ability to style that information. It is placed in a third (usually empty) column of the table. <tt><nowiki>{{{4}}}</nowiki></tt> is inside a <tt><div></tt> tag and <tt><nowiki>{{{5}}}</nowiki></tt> provides the style for that <tt><div></tt>. | ||
+ | |||
+ | {| width="100%" | ||
+ | ! ''Code'' | ||
+ | ! ''Output'' | ||
+ | |- | ||
+ | | width="50%" style="border:1px solid #aaa;" | <code><nowiki>{{Quest Book|{{n}}|Thou Dost Jest!|font-color:#f0c;|Additional Info|font-size:14pt;}}</nowiki></code> | ||
+ | | width="50%" style="border:1px solid #aaa;" | {{Quest Book|{{n}}|Thou Dost Jest!|font-color:#f0c;|Additional Info|font-size:14pt;}} | ||
+ | |} | ||
[[Category:Templates|{{PAGENAME}}]] | [[Category:Templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |
Latest revision as of 20:18, 5 June 2008
Do not edit this page! |
If you need to customize this template to fit your own needs, copy the code into a fresh template and work from there. |
Editing this page may cause the template to stop working properly for other pages currently using this template. |
This template is outdated! |
If you are using this template for a personal questbook, it is recommended you start using Template:QuestBook instead. |
Contents |
How to Use
This template can be used to put together a quest book showing both incomplete and completed quests. The overall template has a transparent background so it can be fit onto any other colored areas.
Incomplete Quest
Code | Output | |||
---|---|---|---|---|
{{Quest Book|{{i}}|Thou Dost Jest!}}
|
|
Completed Quest
Code | Output | |||
---|---|---|---|---|
{{Quest Book|{{c}}|Thou Dost Jest!}}
|
|
Parameters
The first two parameters are mandatory. All others are optional and only add additional information or styles. Other parameters may be added in the future, but they will also be optional and will not interfere with existing uses of this template.
1 = Complete/Incomplete/NotTaken. . choose: {{i}} or {{c}} or {{n}} 2 = Quest Name. . . . . . . . . . . default: Quest Name 3 = Quest Name Style (css). . . . . optional, no default 4 = Additional Info . . . . . . . . optional, no default 5 = Additional Info Style (css) . . optional, no default
1
The first parameter is meant to be one of three templates. Using something besides one of these three will still work but the appearance of the final page may be distorted.
{{i}} =
= Incomplete
{{c}} =
= Complete
{{n}} =
= Quest Not Taken
2,3
The second parameter is fairly simple; just include the name of the quest. It is also automatically made into a link to that quest's page on the wiki.
The third parameter can be used to style the text of the quest name. It uses inline css. This parameter is automatically surrounded by quotation marks so those are unnecessary.
Code | Output | |||
---|---|---|---|---|
{{Quest Book|{{n}}|Thou Dost Jest!|font-color:#f0c;}}
|
|
4,5
The final two parameters are available if additional information about the quest is desired and the ability to style that information. It is placed in a third (usually empty) column of the table. {{{4}}} is inside a <div> tag and {{{5}}} provides the style for that <div>.
Code | Output | |||
---|---|---|---|---|
{{Quest Book|{{n}}|Thou Dost Jest!|font-color:#f0c;|Additional Info|font-size:14pt;}}
|
|