Template:CraftTech: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(Bug fix)
mNo edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>[[has default form::Form:GuildAbility| ]]<!-- Adds Incomplete template if non-optional information is missing-->{{#if: {{#show: {{FULLPAGENAME}} | ?missing }} | {{Incomplete}} | }}[[page type is::technique| ]]</includeonly>
<includeonly><!-- Adds Incomplete template if non-optional information is missing-->{{#if: {{#show: {{FULLPAGENAME}} | ?missing }} | {{Incomplete}} | }}[[page type is::technique| ]]</includeonly>
{| style="float:right"
{| style="float:right"
|{{#if:{{{guild|}}}|{{#arraymaptemplate:{{{guild}}}|GuildAbilityGuild|,|}}}}
|{{#if:{{{guild|}}}|{{#arraymaptemplate:{{{guild}}}|GuildAbilityGuild|,|}}}}
Line 11: Line 11:
{{!}} colspan=2 {{!}} {{#if: {{{disc|}}} | [[{{{disc}}} discipline]] | [[missing::Infobox entry on discipline|''Unknown'']] }} }}
{{!}} colspan=2 {{!}} {{#if: {{{disc|}}} | [[{{{disc}}} discipline]] | [[missing::Infobox entry on discipline|''Unknown'']] }} }}
|-
|-
! style="text-align:left" | '''Prerequisits:'''
! style="text-align:left" | '''Prerequisites:'''
| colspan=2 | {{#if: {{{reqs|}}} | {{#switch: {{lc: {{{reqs}}} }} | n | -=None | {{#arraymap:{{{reqs}}}| , | x | [[x Technique]] }} }} | [[missing::Infobox entry on prerequsites|''Unknown'']] }}
| colspan=2 | {{#if: {{{reqs|}}} | {{#switch: {{lc: {{{reqs}}} }} | n | -=None | {{#arraymap:{{{reqs}}}| , | x | [[x Technique]] }} }} | [[missing::Infobox entry on prerequsites|''Unknown'']] }}
|-
|-
Line 19: Line 19:
{{#ifeq: {{lc: {{{effect}}} }} | - | | ! style="text-align:left" {{!}} '''Effect:'''
{{#ifeq: {{lc: {{{effect}}} }} | - | | ! style="text-align:left" {{!}} '''Effect:'''
{{!}} colspan=2 {{!}} {{#if: {{{effect|}}} | {{{effect}}} | [[missing::Infobox entry on effects|''Unknown'']] }} }}
{{!}} colspan=2 {{!}} {{#if: {{{effect|}}} | {{{effect}}} | [[missing::Infobox entry on effects|''Unknown'']] }} }}
|}<includeonly>{{#if: {{{disc|}}} | [[Category:{({disc})} Techniques]] }}{{Category:Crafting Techniques]]</includeonly><noinclude>
|}<includeonly>{{#if: {{{disc|}}} | [[Category:{{{disc}}} Techniques]] }}[[Category:Techniques]]</includeonly><noinclude>
This template provides an infobox for all crafting technique articles. Notes and commentary should be added on the individual articles via normal article editing.
This template provides an infobox for all crafting technique articles. Notes and commentary should be added on the individual articles via normal article editing.



Latest revision as of 00:28, 1 December 2023

CraftTech Infobox
Discipline: Unknown
Prerequisites: Unknown
Teacher: Unknown
Effect: Unknown

This template provides an infobox for all crafting technique articles. Notes and commentary should be added on the individual articles via normal article editing.

Usagage Documentation:

Variable Supported Values Usage
name Ability name if different from page name. (optional)
teacher -/any/(teacher) What NPC(s) teach it. Automatically will add links. If multiple, add names separated by "," and no space.
reqs -/<reqs> Any prequisits to learn. Manually add links to other abilities if needed
disc <disc> Which crafting discipline the technique is part of.
effect -/<effect> What is the power's effects?

When making a new article, copy the text below into the edit window and fill in the parameter values as appropriate.

{{CraftTech
|name=
|teacher=
|reqs=
|disc=
|effect=
}}