Sin resumen de edición |
(Deshecha la revisión 197278 de Hjaalmark (disc.)) Etiqueta: Deshacer |
||
Línea 1: | Línea 1: | ||
<onlyinclude><includeonly>{{Infobox |
<onlyinclude><includeonly>{{Infobox |
||
− | |bodystyle = width: {{{width|20.5em}}}; |
+ | |bodystyle = width: {{{width|20.5em}}}; margin: 0 0 20px 10px; padding: 2px |
+ | |above = <span style="margin-right: .75em">{{{{{faction|Neutral}}} Icon}}</span> <span style="font-size: 90%; font-family: sans-serif;">{{{name|Untitled}}}</span> |
||
− | |bodyclass = questbox |
||
+ | |abovestyle = text-align: left; padding: 5px; |
||
− | |above-icon = {{FactionIcon|{{{faction}}}}} |
||
+ | |headerstyle = |
||
− | |above = {{{name|Untitled}}} |
||
+ | |labelstyle = |
||
− | |image = {{#if:{{{image|}}}|[[FIle:{{{image}}}|180px|alt=]]}} |
||
+ | |datastyle = width: 99%; |
||
− | |imageclass = {{{imageclass|}}} |
||
− | |imagestyle = {{{imagestyle|}}} |
||
− | |caption = {{{imagecaption|}}} |
||
− | |captionstyle = {{{imagecaptionstyle|}}} |
||
− | | |
+ | |header1 = |
+ | |label1 = Empieza |
||
|data1 = {{{start|Unknown}}} |
|data1 = {{{start|Unknown}}} |
||
− | |label2 = |
+ | |label2 = Termina |
|data2 = {{#ifeq:{{{end|}}}||{{{start|Unknown}}}|{{{end}}}}} |
|data2 = {{#ifeq:{{{end|}}}||{{{start|Unknown}}}|{{{end}}}}} |
||
− | |label3 = |
+ | |label3 = Nivel |
− | |data3 = |
+ | |data3 = {{{level|1}}}{{#if:{{{levelreq|}}}| (Requiere {{{levelreq}}})}} |
− | |label4 = |
+ | |label4 = Tipo |
|data4 = {{{type|}}} {{#if:{{{groupsize|}}}|({{{groupsize}}})}} |
|data4 = {{{type|}}} {{#if:{{{groupsize|}}}|({{{groupsize}}})}} |
||
− | |label5 = |
+ | |label5 = Categoría |
− | |data5 = {{#if: |
+ | |data5 = {{#if:{{{category|}}}|[[{{{category}}}]]}} |
− | |label6 = |
+ | |label6 = Experiencia |
|data6 = {{{experience|}}} |
|data6 = {{{experience|}}} |
||
− | |label7 = |
+ | |label7 = Reputación |
|data7 = {{{reputation|}}} |
|data7 = {{{reputation|}}} |
||
− | |label8 = |
+ | |label8 = Recompensas |
|data8 = {{#if:{{{rewards|{{{money|}}}}}}|{{{rewards|}}}{{#if:{{{rewards|}}}|{{#if:{{{money|}}}|<br />}}}}{{{money|}}}}} |
|data8 = {{#if:{{{rewards|{{{money|}}}}}}|{{{rewards|}}}{{#if:{{{rewards|}}}|{{#if:{{{money|}}}|<br />}}}}{{{money|}}}}} |
||
− | |label9 = |
+ | |label9 = Repetible |
|data9 = {{#if:{{{repeatable|}}}|{{ucfirst:{{{repeatable}}}}}}} |
|data9 = {{#if:{{{repeatable|}}}|{{ucfirst:{{{repeatable}}}}}}} |
||
− | |label10 = |
+ | |label10 = Compartible |
|data10 = {{#if:{{{shareable|}}}|{{ucfirst:{{{shareable}}}}}}} |
|data10 = {{#if:{{{shareable|}}}|{{ucfirst:{{{shareable}}}}}}} |
||
− | |label11 = |
+ | |label11 = Anterior |
− | |class11 = questshort |
||
|data11 = {{#if:{{{previous|}}}|{{{previous}}}}} |
|data11 = {{#if:{{{previous|}}}|{{{previous}}}}} |
||
− | |label12 = |
+ | |label12 = Siguiente |
− | |class12 = questshort |
||
|data12 = {{#if:{{{next|}}}|{{{next}}}}} |
|data12 = {{#if:{{{next|}}}|{{{next}}}}} |
||
⚫ | |||
− | }}{{#if:{{{name|}}}|{{{noilink|{{DEFAULTLINK:<span class="nobreak"><span class="questlong-prefix linkicon">{{#ifeq:{{#var:FactionSwitch|off}}|on|[[File:Both 15.png|alt=B|link=]]|[[File:{{{faction|Neutral}}} 15.png|alt={{#switch:{{ucfirst:{{{faction}}}}}|Horde=H|Alliance=A|N}}|link=]]}} {{#if:{{{race|}}}|{{RaceIcon|{{{race}}}|Male|size=15px}}{{RaceIcon|{{{race}}}|Female|size=15px}} }}{{#switch:{{lc:{{{class|{{{category}}}}}}}}|mage|warlock|priest|druid|rogue|shaman|hunter|warrior|paladin|death knight|monk|demon hunter= |
||
⚫ | }}}}<div style="display:none; text-align:center;" class="tooltip-content"><div style="float:left;">{{{{{faction|Neutral}}} Icon}}</div>{{{name|Untitled}}}{{#if:{{{level|}}}|<br />Nivel: {{{level}}}{{#if:{{{levelreq|}}}| (Requiere {{{levelreq}}})}}}}{{#if:{{{type|}}}|<br />Type: {{{type}}} {{#if:{{{groupsize|}}}|({{{groupsize}}})}}}}<br />[[File:Availablequesticon.png]]{{{start|Unknown}}}<br />[[File:Activequesticon.png]]{{#ifeq:{{{end|}}}||{{{start|Unknown}}}|{{{end}}}}}{{#if:{{{experience|}}}|<br />EXP: {{{experience}}}}}{{#if:{{{rewards|{{{money|}}}}}}|<br />Recompensas:{{#if:{{{rewards|}}}|<br />{{{rewards|}}}}}{{#if:{{{money|}}}|<br />{{{money|}}}}}}}</div></includeonly></onlyinclude>{{Documentation}} |
||
− | [[File:Ui-charactercreate-classes_{{lc:{{{class|{{{category}}}}}}}}.png|alt={{{class|{{{category}}}}}}|16px|{{{class|{{{category}}}}}}|link=]] }}{{#switch:{{lc:{{{category}}}}}|archaeology|alchemy|blacksmithing|cooking|enchanting|engineering|first aid|fishing|herbalism|inscription|jewelcrafting|leatherworking|mining|riding|skinning|tailoring={{ProfIcon|{{{category}}}|size=15px}} }}[{{#ifeq:{{{level}}}|-1|{{maxlevel}}|{{{level|??}}}}}{{#switch:{{lc:{{{type}}}}}|group=G{{{groupsize|}}}|dungeon=D|raid=R|pvp=P|daily= Daily|daily group=G{{{groupsize|}}} Daily|daily pvp|pvp daily=P Daily|heroic=H|weekly=W|weekly group=WG|world quest=WQ|alchemy world quest=WQ|blacksmithing world quest=WQ|enchanting world quest=WQ|engineering world quest=WQ|fishing world quest=WQ|herbalism world quest=WQ|inscription world quest=WQ|leatherworking world quest=WQ|mining world quest=WQ|jewelcrafting world quest=WQ|skinning world quest=WQ|tailoring world quest=WQ|battle pet world quest=BPWQ|rare world quest=RWQ|rare elite world quest=REWQ|epic elite world quest=EEWQ|dungeon world quest=D WQ|raid world quest=R WQ|legion invasion world quest=LI WQ|legion invasion elite world quest=LIE WQ{{{groupsize|}}}}}] </span>[[{{FULLPAGENAME}}|<span class="ajaxttlink questlink">{{{name}}}</span>]]</span>}}}}} |
||
⚫ | |||
− | {{{doc|{{#ifeq:{{NAMESPACE}}|User||{{#if:{{{category|}}}|[[Category:{{#ifeq:{{{category}}}|Death Knight|Death knight|{{{category}}}}} quests]]}}{{#if:{{{class|}}}|[[Category:{{#ifeq:{{{class}}}|Death Knight|Death knight|{{{class}}}}} quests]]}} |
||
− | {{#if:{{{faction|Neutral}}}|{{#ifeq:{{lc:{{{faction|Neutral}}}}}|both|[[Category:Alliance quests]][[Category:Horde quests]]|[[Category:{{ucfirst:{{{faction|Neutral}}}}} quests]]}}}} |
||
− | {{#if:{{{level|}}}|[[Category:Quests at {{#ifeq:{{{level}}}|-1|{{maxlevel}}|{{{level}}}}}]]}} |
||
⚫ | |||
− | |||
− | -->{{#if:{{{other-faction|}}}|<div class="qfordisambig disambig-for"> |
||
− | :''For the {{#ifeq:{{lc:{{{faction|}}}}}|alliance|Horde|Alliance}} version of this quest, see [[{{{other-faction}}}]].'' |
||
− | </div>}}<!-- |
||
− | |||
− | CARGO |
||
− | -->{{#if:{{NAMESPACE}}||{{#if:{{#pos:{{{previous|}}}{{{next|}}}|Quest:}}|[[Category:NQA questbox fix TODO]]}}{{#cargo_store:_table=Quests|disambigneeded={{#ifexist:{{#replace:{{PAGENAME}}|Quest:}}|1|0}}}}}}</includeonly></onlyinclude>{{Documentation}} |
||
− | {{#cargo_declare:_table=Quests|disambigneeded=Boolean}} |
Revisión del 13:54 9 dic 2019
Use Questbox to help summarize the vital stats of a particular quest, leaving the body of the article to discuss lore and strategy. Including the following code creates the questbox to the right.
{{questbox | name = C'Thun's Legacy | faction = Alliance | level = 60 | levelreq = 59 | type = Group | groupsize = 4 | category = Hellfire Peninsula | start = [[Eye of C'Thun]] | end = [[Caelestrasz]] | reputation = [[Wildhammer]] +100-500 | experience = 40-500 | rewards = {{item|Stoneskin Totem}} or {{item|Earth Totem}} | money = {{Cost|123|45|67}} | shareable = No | repeatable = Yes | previous = {{quest|Your Place In The World}} | next = {{quest|Scarab Shells}} | id = 788 }}
Required fields
- name
- The name of the quest. Defaults to "Untitled".
- faction
- "Alliance", "Horde", or "Neutral". Denotes which faction is eligible for the quest, or both. Defaults to "Neutral".
- start
- The NPC, item, or object responsible for initiating the quest. Braces required. Defaults to "Unknown".
- end
- The NPC, item, or object responsible for ending the quest. Braces required. Defaults to the value of start.
- level
- The difficulty level of the quest, exposed by the quest API or an quest viewer add-on. Defaults to "1". If colored level numbers appear, this number will be white.
- levelreq
- The minimum level required to accept the quest. Datamined from Thottbot or other database. Defaults to "1".
- rewards
- A list of linked items rewarded by the quest. Can use {{item|<item name>}} or {{loot|<quality>|<item name>}}.
Recommended, but optional
- experience
- The amount of experience gained from completing the quest.
- previous
- The quest required to be completed before starting the current quest. Written using {{quest|<quest name>}} or similar.
- next
- The quest that follows the current quest in a series. Written using {{quest|<quest name>}} or similar.
Optional
- type
- "Group", "Dungeon", "Raid", "PvP". Defaults to hidden. Can leave out for normal solo quests.
- groupsize
- If this is a "Group" quest, provide the group size recommended by the quest. No default value.
- category
- The category under which the quest appears in the quest log (usually a class or a zone). No default value, braces not required.
- reputation
- The amount of reputation affected by the quest, written in the style +100 Wildhammer or -100 Undercity. Braces necessary.
- money
- The amount of money awarded by completing the quest. Use {{cost}}, e.g. 25 or 4 7 25 . Usual format is {{cost|<gold>|<silver>|<copper>}}; see Template:Cost.
- repeatable
- Accepts "Yes". Indicates if the quest is repeatable. Defaults to hidden.
- shareable
- Accepts "Yes" or "No". Indicates if the quest is shareable. Defaults to hidden.
- id
- The internal id of the quest for the various external databases.
- doc
- if specified, prevents the Questbox template from adding the page to categories.