Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
mNo edit summary
 
m (Space changed to non-breaking space.)
 
Line 1: Line 1:
  +
<includeonly><!-- Recipe -->{{#if:{{{recipe|}}}
−
[[Image:Activation Crystal.jpg|thumb]]
 
  +
|{{item|icon=|{{{recipe}}}}}
  +
|{{#if:{{{glyph|}}}|{{{glyph}}}:&nbsp;}}{{{name}}}
  +
}}<!--
  +
Created Item --><br />{{{createquantity|1}}}x {{#if:{{{icon|}}}|{{#if:{{{icon|}}}|[[Image:{{lc:{{{icon}}}}}.png|16px]]&nbsp;}}{{loot|{{{quality|}}}|{{{disambigpage|{{{name}}}}}}|{{#if:{{{arg|}}}|{{{arg}}}|{{{name}}}}}}}}}
   
  +
<!-- Reagents -->| align=center | {{#if:{{{reagent1|}}}|{{{reagent1quantity|1}}}x {{item|icon=|{{{reagent1}}}}}}}<!--
−
'''Activation Crystals''' can be found around the inside of the [[Violet Hold]]. Using them will activate the defense systems and kill off most mobs.
 
  +
-->{{#if:{{{reagent2|}}}|<br />{{{reagent2quantity|1}}}x {{item|icon=|{{{reagent2}}}}}}}<!--
  +
-->{{#if:{{{reagent3|}}}|<br />{{{reagent3quantity|1}}}x {{item|icon=|{{{reagent3}}}}}}}<!--
  +
-->{{#if:{{{reagent4|}}}|<br />{{{reagent4quantity|1}}}x {{item|icon=|{{{reagent4}}}}}}}<!--
  +
-->{{#if:{{{reagent5|}}}|<br />{{{reagent5quantity|1}}}x {{item|icon=|{{{reagent5}}}}}}}<!--
  +
-->{{#if:{{{reagent6|}}}|<br />{{{reagent6quantity|1}}}x {{item|icon=|{{{reagent6}}}}}}}
   
  +
<!-- Difficulty -->| {{RecipeTable/Difficulty|{{{createorange|}}}|{{{createyellow|}}}|{{{creategreen|}}}|{{{creategray|}}}}}
−
==Achievements==
 
−
Not using these while in [[heroic mode]] will award the achievement {{achievement|Defenseless}}, so long as prison seal integrity is at 100% as well.
 
   
  +
<!-- Source -->|{{#if:{{{recipe|}}}
−
[[Category:The Violet Hold objects]]
 
  +
|{{:{{{recipe}}}|tpl=RecipeTable/RecipeSource}}
−
[[Category:Fixed devices]]
 
  +
|{{#if:{{{learn|}}}|{{{learn}}}|{{{recipesource|}}}}}}}</includeonly><noinclude>
  +
  +
== Documentation ==
  +
  +
This template creates a standardised row for use in profession recipe and pattern tables.
  +
  +
=== Syntax ===
  +
  +
<nowiki>{{:Minor Mana Potion|tpl=RecipeTable/RecipeRow}}</nowiki>
  +
  +
The values to go into the table are determined automatically using the following attributes, which must be defined in the meta data of the tooltip of the item in question.
  +
* name
  +
* icon
  +
* reagent1, reagent2, reagent3, ..., reagent6
  +
* reagent1quantity, reagent2quantity, ..., reagent6quantity
  +
* createorange, createyellow, creategreen, creategray
  +
* recipe (define only if there is an item which is used to learn the recipe
  +
  +
=== Output ===
  +
  +
<pre>TBD</pre>
  +
  +
=== Usage ===
  +
  +
<pre>{| class=darktable
  +
|-
  +
! {{RecipeTable/DifficultyHeader}}
  +
|-
  +
| {{:Minor Mana Potion|tpl=RecipeTable/RecipeRow}}
  +
|}</pre>
  +
  +
Adding the rowspan property is optional. When left out, it will be defaulted to 1.
  +
  +
=== Result ===
  +
  +
{| class=darktable
  +
|-
  +
! Recipe
  +
! Reagents
  +
! {{RecipeTable/DifficultyHeader}}
  +
! Source
  +
|-
  +
| {{:User:Ddcorkum/Sandbox|tpl=RecipeTable/RecipeRow}}
  +
|}
  +
  +
=== See Also ===
  +
This template should be used with {{t2|RecipeTable/DifficultyHeader}}
  +
  +
[[Category:WoW table helper templates|{{PAGENAME}}]]</noinclude>

Revision as of 21:44, 5 December 2010


Documentation

This template creates a standardised row for use in profession recipe and pattern tables.

Syntax

{{:Minor Mana Potion|tpl=RecipeTable/RecipeRow}}

The values to go into the table are determined automatically using the following attributes, which must be defined in the meta data of the tooltip of the item in question.

  • name
  • icon
  • reagent1, reagent2, reagent3, ..., reagent6
  • reagent1quantity, reagent2quantity, ..., reagent6quantity
  • createorange, createyellow, creategreen, creategray
  • recipe (define only if there is an item which is used to learn the recipe

Output

TBD

Usage

{| class=darktable
|-
! {{RecipeTable/DifficultyHeader}}
|-
| {{:Minor Mana Potion|tpl=RecipeTable/RecipeRow}}
|}

Adding the rowspan property is optional. When left out, it will be defaulted to 1.

Result

Recipe Reagents Orange Yellow Green Gray Source
;var1 : <span class="apitype-opt">number</span> - Doesn't really do anything
;var2 : <span class="apitype">string</span> - The most important value in the world!
;frame : <span class="apitype-opt">{{api|t=o|Frame}}</span> - A super duper cool widget.
var1
number - Doesn't really do anything
var2
string - The most important value in the world!
frame
Frame - A super duper cool widget.




{| class="darktable col2-center"
! Key !! Type !! Desc
|-
! Foo
| class="apitype-opt" | function || The class is applied to the whole cell
|-
! Something
|class="apitype" | table || Ditto but this one isn't optional
|-
! Hello
| <span class="apitype-opt">boolean</span> || The class applied to a span inside the cell
|-
! Fourth row
| <span class="apitype-nil">boolean</span> || Ditto, but this one says nilable
|}
Key Type Desc
Foo function The class is applied to the whole cell
Something table Ditto but this one isn't optional
Hello boolean The class applied to a span inside the cell
Fourth row boolean Ditto, but this one says nilable

Desktop CSS

.apitype.opt
{
	position:relative;
	color:var(--wowapi-text-color);
}

.apitype-opt::after
{
	content:"?";
	color:var(--theme-page-text-color);
}

.apitype-opt:hover::after
{
	color:var(--theme-page-text-color--hover);
}

.apitype-opt::before
{
	content:"Optional";
	color:#f0f0f0;
	position:absolute;
	right:0;
	top:100%;
	transform:translateX(50%);
	margin:0.2em;
	padding:0.1em;
	font-size:11px;
	background-color:#101010;
	border:1px #b0b0b0 solid;
	border-radius:0.75ex;
 	text-align:left;
 	z-index:1;
	display:none;
}
.apitype-opt:hover::before
{
	display:block;
}

Mobile CSS

.apitype.opt
{
	color:var(--wowapi-text-color);
}

.apitype-opt::after
{
	content:" (optional)";
	color:var(--theme-page-text-mix-color);
}

See Also

This template should be used with {{RecipeTable/DifficultyHeader}}