Difference between revisions of "Template:Honor tab/es"
From Pathfinder Wiki
(Created page with "<noinclude> This template is intended to be used on an honor's overview page. It was based on Template:Honor_desc and should (eventually) replace it as the primary reposi...") |
|||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
− | This template is intended to be used on an honor's overview page. | + | This template is intended to be used on an honor's overview page. It was based on [[Template:Honor_desc]] and should (eventually) replace it as the primary repository of an honor's metadata. |
==Parameters== | ==Parameters== | ||
Line 7: | Line 7: | ||
;skill: Skill level of the honor (1, 2, or 3) | ;skill: Skill level of the honor (1, 2, or 3) | ||
;year: The year the honor was introduced | ;year: The year the honor was introduced | ||
− | ;instructor: If an instructor is required, define this to any non-blank text. | + | ;instructor: If an instructor is required, define this to any non-blank text. If the value specified is ''licensed, skilled,'' or ''qualfied'', the honor will be added to [[:Category:Instructor Required/Licensed]], [[:Category:Instructor Required/Skilled]], or [[:Category:Instructor Required/Qualified]]. All honors that have this field set to anything (including the special values listed above) will be added to [[:Category:Instructor Required]]. |
;authority: The highest level organization in the church which has approved the honor. | ;authority: The highest level organization in the church which has approved the honor. | ||
− | ;insignia: Filename for the patch's image. | + | ;insignia: Filename for the patch's image. If specified, the honor will be placed in [[:Category:Has insignia image]]. If omitted, the honor will be placed in [[:Category:No insignia image]]. |
− | ;insignia_source: If the insignia is not carried by Advent''Source'', this variable will indicate where it can be obtained. | + | ;insignia_source: If the insignia is not carried by Advent''Source'', this variable will indicate where it can be obtained. If set, it will also superimpose a "Not available at Advent''Source''" warning across the insignia image. We are required to splash this warning by the NAD (our host). |
− | ;primary: If this honor has variants depending on where it is taught (because the answer key is different, or because the requirements are different), this argument should indicate which page is the primary version of the honor. | + | ;primary: If this honor has variants depending on where it is taught (because the answer key is different, or because the requirements are different), this argument should indicate which page is the primary version of the honor. Because the wiki is hosted by the NAD, any NAD variant will be considered primary. Otherwise, the primary version will be the highest authority level. If left blank, this variant of the honor will be considered the primary version. If set, this variant will be marked as secondary and it will not show up in the main indices. |
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
Line 19: | Line 19: | ||
! {{{authority|}}}<br> | ! {{{authority|}}}<br> | ||
[[AY Honors/{{{category}}}|{{{category}}}]] | [[AY Honors/{{{category}}}|{{{category}}}]] | ||
− | {{#ifexist:AY Honors/{{{honorname}}} - Advanced|[[Category:AY Honors/Honors with an Advanced Option|{{{honorname}}}]]<br>Véase también [[AY Honors/{{{honorname}}} - Advanced|{{{honorname}}} - | + | {{#ifexist:AY Honors/{{{honorname}}} - Advanced/es|[[Category:AY Honors/Honors with an Advanced Option/es|{{{honorname}}}]]<br>Véase también [[AY Honors/{{{honorname}}} - Advanced/es|{{{honorname}}} - Avanzado]]}} |
− | ! Destreza {{{skill| | + | ! Destreza {{{skill|Desconocido}}}<br>Año de introducción: {{{year|Desconocido}}} |
! {{#if:{{{insignia_source|}}} | ! {{#if:{{{insignia_source|}}} | ||
|{{Superimpose | |{{Superimpose | ||
− | | base = {{{insignia| | + | | base = {{{insignia|Parche_No_Disponible.png}}} |
| base_width = 150px | | base_width = 150px | ||
− | | float = Not available at AdventSource.png | + | | float = Not available at AdventSource SPANISH.png |
| float_width = 170px | | float_width = 170px | ||
| align=center | | align=center | ||
Line 32: | Line 32: | ||
}} | }} | ||
|{{Superimpose | |{{Superimpose | ||
− | | base = {{{insignia| | + | | base = {{{insignia|Parche_No_Disponible.png}}} |
| base_width = 150px | | base_width = 150px | ||
| align=center | | align=center | ||
}} | }} | ||
}} | }} | ||
− | {{#ifeq:{{{insignia}}}| | + | {{#ifeq:{{{insignia}}}|Parche_No_Disponible.png |
− | |[[Category:No insignia image|{{{honorname}}}]] | + | |[[Category:No insignia image/es|{{{honorname}}}]] |
− | |[[Category:Has insignia image|{{{honorname}}}]] | + | |[[Category:Has insignia image/es|{{{honorname}}}]] |
}} | }} | ||
− | {{#if:{{{insignia_source|}}}|<br />{{insignia_source|{{{insignia_source}}}}}}} | + | {{#if:{{{insignia_source|}}}|<br />{{insignia_source/es|{{{insignia_source}}}}}}} |
|} | |} | ||
{{#switch:{{{category}}} | {{#switch:{{{category}}} | ||
Line 50: | Line 50: | ||
|Recreation ={{Honor_Master|honor={{{honorname}}}|master=Recreation}} | |Recreation ={{Honor_Master|honor={{{honorname}}}|master=Recreation}} | ||
}} | }} | ||
− | {{#if:{{{instructor|}}}|[[Category:Instructor Required]] | + | {{#if:{{{instructor|}}}|[[Category:Instructor Required/es]] |
<big><b>{{#switch:{{{instructor|}}} | <big><b>{{#switch:{{{instructor|}}} | ||
− | |licensed|license= | + | |licensed|license=Se requiere un instructor licenciado para esta especialidad. |
− | [[Category:Instructor Required/Licensed]] | + | [[Category:Instructor Required/Licensed/es]] |
− | |skilled= | + | |skilled=Se requiere un instructor capacitado en este campo para esta especialidad |
− | [[Category:Instructor Required/Skilled]] | + | [[Category:Instructor Required/Skilled/es]] |
− | |qualified= | + | |qualified=Se requiere un instructor capacitado en este campo para esta especialidad. |
− | [[Category:Instructor Required/Qualified]] | + | [[Category:Instructor Required/Qualified/es]] |
− | |Instructor | + | |Instructor requerido. |
}} | }} | ||
</b></big> | </b></big> | ||
}} | }} |
Latest revision as of 09:36, 11 January 2021
This template is intended to be used on an honor's overview page. It was based on Template:Honor_desc and should (eventually) replace it as the primary repository of an honor's metadata.
Parameters
- honorname
- Name of the honor as it should be displayed at the top of the banner.
- category
- Category to which the honor belongs.
- skill
- Skill level of the honor (1, 2, or 3)
- year
- The year the honor was introduced
- instructor
- If an instructor is required, define this to any non-blank text. If the value specified is licensed, skilled, or qualfied, the honor will be added to Category:Instructor Required/Licensed, Category:Instructor Required/Skilled, or Category:Instructor Required/Qualified. All honors that have this field set to anything (including the special values listed above) will be added to Category:Instructor Required.
- authority
- The highest level organization in the church which has approved the honor.
- insignia
- Filename for the patch's image. If specified, the honor will be placed in Category:Has insignia image. If omitted, the honor will be placed in Category:No insignia image.
- insignia_source
- If the insignia is not carried by AdventSource, this variable will indicate where it can be obtained. If set, it will also superimpose a "Not available at AdventSource" warning across the insignia image. We are required to splash this warning by the NAD (our host).
- primary
- If this honor has variants depending on where it is taught (because the answer key is different, or because the requirements are different), this argument should indicate which page is the primary version of the honor. Because the wiki is hosted by the NAD, any NAD variant will be considered primary. Otherwise, the primary version will be the highest authority level. If left blank, this variant of the honor will be considered the primary version. If set, this variant will be marked as secondary and it will not show up in the main indices.