Template:Crafting: Difference between revisions

From Echoes of Angmar
Content deleted Content added
No edit summary
was able to add syntax to prvent critical success result from clipping to two lines
 
(42 intermediate revisions by 2 users not shown)
Line 8: Line 8:
|-
|-
|-
|-
{{#if:{{{image<includeonly>|</includeonly>}}}|
{{#if:{{{name<includeonly>|</includeonly>}}}|
<!-- -->{{!}} colspan="2" style="text-align: left;" {{!}} [[Image:{{{image}}}-icon.png]] }}
<!-- -->{{!}} colspan="2" style="text-align: left;" {{!}} [[Image:{{{name}}}-icon.png]] }}
|
|
{| class="Crafting-Name" width=300px; style="background: #1F1F1F; font-family: sans-serif; border: 2px solid #1F1F1F;"
{| class="Crafting-Name" width=300px; style="background: #1F1F1F; font-family: sans-serif; border: 2px solid #1F1F1F;"
|-
|-
| <span style="font-size: 130%;color: {{ #switch: {{{quality|}}} | legendary = gold | incomparable = teal | rare = purple | uncommon = Yellow
| <span style="font-size: 130%;color: {{ #switch: {{{quality|}}} | legendary = gold | incomparable = teal | rare = purple | uncommon = Yellow
| common | #default = white }}; font-family:serif;font-stretch=narrower;font-variant: small-caps;">{{{name|{{PAGENAME}}}}}</span><br>
| common | #default = white }}; font-family:serif;font-stretch=narrower;font-variant: small-caps;">[[{{{name}}}]]</span><br>
|-
|-
| align="Left" style="color: NavajoWhite; " | Tier {{{Tier}}} Points Earned: {{{Points-Earned}}}
| align="Left" style="color: NavajoWhite; " | Tier {{{Tier}}} Points Earned: {{{Points-Earned}}}
|-
|-
|}
|}

|-
|-
|}
|}
|-
| style="color: White; " | Recipe: {{{Scroll}}}
|-
|-
| style="color: LimeGreen; " | Tool Required: {{{Tool-Required}}}
| style="color: LimeGreen; " | Tool Required: {{{Tool-Required}}}
Line 34: Line 35:
{{#if:{{{Ingredients-Item1<includeonly>|</includeonly>}}}|
{{#if:{{{Ingredients-Item1<includeonly>|</includeonly>}}}|
<!-- -->{{!}} width="16px" colspan="2" style="text-align: left; background:#1F1F1F; color: red;" {{!}} [[Image:{{{Ingredients-Item1}}}-icon.png]] }}
<!-- -->{{!}} width="16px" colspan="2" style="text-align: left; background:#1F1F1F; color: red;" {{!}} [[Image:{{{Ingredients-Item1}}}-icon.png]] }}
| width="125px" align="left" style="color: White; " |{{{Number-of-Item1}}} [[Item:{{{Ingredients-Item1}}}|{{{Ingredients-Item1}}}]]
| width="125px" align="left" style="color: White; " |{{#if:{{{Ingredients-Item1<includeonly>|</includeonly>}}}|{{{Number-of-Item1}}} [[Item:{{{Ingredients-Item1}}}|{{{Ingredients-Item1}}}]] }}
|
|
{{#if:{{{Ingredients-Item2<includeonly>|</includeonly>}}}|
{{#if:{{{Ingredients-Item2<includeonly>|</includeonly>}}}|
Line 60: Line 61:
{{#if:{{{Ingredients-Item6<includeonly>|</includeonly>}}}|{{{Number-of-Item6}}} [[Item:{{{Ingredients-Item6}}}|{{{Ingredients-Item6}}}]] }}
{{#if:{{{Ingredients-Item6<includeonly>|</includeonly>}}}|{{{Number-of-Item6}}} [[Item:{{{Ingredients-Item6}}}|{{{Ingredients-Item6}}}]] }}
|-
|-
|}


{|
|-
| align="left" style="color: limegreen; " | Optional Critical Ingredient:
|-
|
{| class="Crafting-List" style="color: white; background: #1F1F1F; font-family: sans-serif; border: 2px solid #1F1F1F;"
|-
{{#if:{{{Ingredients-Item7<includeonly>|</includeonly>}}}|
<!-- -->{{!}} width="16px" colspan="2" style="text-align: left; background:#1F1F1F; color: red;" {{!}} [[Image:{{{Ingredients-Item7}}}-icon.png]] }}
| width="125px" align="left" style="color: White; " | {{#if:{{{Ingredients-Item7<includeonly>|</includeonly>}}}|{{{Number-of-Item7}}} [[Item:{{{Ingredients-Item7}}}|{{{Ingredients-Item7}}}]] }}
|-
|}
|}

{|
|-
|-
| align="center" style="color: limegreen; " | (Optional) Crit Trophy:
| align="left" style="color: limegreen; " | Critical Success Result:
|-
|-
|
|
{| class="Crafting-List" style="color: white; background: #1F1F1F; font-family: sans-serif; border: 2px solid #1F1F1F;"
{| class="Crafting-List" style="color: white; background: #1F1F1F; font-family: sans-serif; border: 2px solid #1F1F1F;"
|-
|-
{{#if:{{{Critical-Item8<includeonly>|</includeonly>}}}|
| {{#if: {{{Critical-Trophy|}}}|{{#ifeq: {{{Critical-Trophy|}}}|none|| [[Image:{{{Critical-Trophy|}}}-icon.png]] }}|[[Image:{{{Critical-Trophy|}}}-icon.png]] }}
<!-- -->{{!}} colspan="2" style="text-align: left; background:#1F1F1F; color: red;" {{!}} [[Image:{{{Critical-Item8}}}-icon.png]] }}
| {{{Number-of-Critical-Trophies|}}}
| align="left" style="color: White; " |
| {{#if: {{{Critical-Trophy|}}}|{{#ifeq: {{{Critical-Trophy|}}}|none|None| [[Item:{{{Critical-Trophy}}}|{{{Critical-Trophy}}}]] }}|Unknown}}
{{#if:{{{Critical-Item8<includeonly>|</includeonly>}}}|{{{Number-of-Item8}}} [[Item:{{{Critical-Item8}}}|{{{Critical-Item8}}}]] }}
|-
|-
|}
|}
|}<noinclude>
|}<noinclude>

== Usage ==
Example:
Copy the following information into the article you are creating, and fill it in as necessary.
<pre>
{{Crafting
{{Crafting
| name = {{PAGENAME}}
| name = Campfire Materials
| main-category = Recipe
| main-category = Recipe
| quality =
| quality =
| image = {{PAGENAMEE}}-icon.png
| image = Campfire Materials
| Tier =
| Tier =1
| Points-Earned =
| Points-Earned =6
| Scroll = [[Campfire Materials Scroll]]
| Tool-Required =
| Tool-Required =
| Facility-Required =
| Facility-Required =
| Ingredients-Item1 =
| Ingredients-Item1 =Rowan Wood
| quality-of-Item1 =
| quality-of-Item1 =
| Number-of-Item1 =
| Number-of-Item1 =3
| Ingredients-Item2 =
| Ingredients-Item2 =Kindling Material
| quality-of-Item2 =
| quality-of-Item2 =
| Number-of-Item2 =
| Number-of-Item2 =1
| Ingredients-Item3 =
| Ingredients-Item3 =Ball of Twine
| quality-of-Item3 =
| quality-of-Item3 =
| Number-of-Item3 =
| Number-of-Item3 =1
| Ingredients-Item4 =
| Ingredients-Item4 =
| Number-of-Item4 =
| Number-of-Item4 =
| Ingredients-Item5 =
| Ingredients-Item5 =
| Number-of-Item5 =
| Number-of-Item5 =
| Ingredients-Item6 =
| Ingredients-Item6 =
| Number-of-Item6 =
| Number-of-Item6 =
| Critical-Trophy =
| Ingredients-Item7 =Dirty Shrew Claw
| Number-of-Critical-Trophies = 1
| Number-of-Item7 =1
| Critical-Item8 =Campfire Materials
}}
| Number-of-Item8 =2
</pre>
}}<div style="float: right; clear: right;"></div>
</noinclude>
<div style="float: left; clear: left;">

Latest revision as of 23:31, 26 June 2023

Template

For more specialized information please refer to the Help:Game Items