Difference between revisions of "Template:HonorRequirement"

From Pathfinder Wiki
 
(3 intermediate revisions by the same user not shown)
Line 11: Line 11:
 
|minReqNeeded (label=Sub-Reqs. needed)
 
|minReqNeeded (label=Sub-Reqs. needed)
 
|text (label=Text)
 
|text (label=Text)
|reqType (label=Type)
+
|reqTypes (label=Types)
 
|additionalDataType (label=Type of additional Data)
 
|additionalDataType (label=Type of additional Data)
 
|additionalData (label=Additional Data)}}{{#cargo_declare:_table=Honors_Requirements
 
|additionalData (label=Additional Data)}}{{#cargo_declare:_table=Honors_Requirements
 
|reqID=String (unique mandatory)
 
|reqID=String (unique mandatory)
|landingID=Page (mandatory)
+
|landingID=Integer (mandatory)
|reqPageID=Page (mandatory)
+
|reqPageID=Integer (mandatory)
 
|reqVariantNo=Integer
 
|reqVariantNo=Integer
 
|sectionID=Integer
 
|sectionID=Integer
Line 30: Line 30:
 
|text=Wikitext (mandatory)
 
|text=Wikitext (mandatory)
 
|language=String (mandatory)
 
|language=String (mandatory)
|reqType=String (allowed values=Text,Image,Match Data,Video,Honor,Honor Category,Draw,Practical,Video,Presentation,Certificate)
+
|reqTypes=List (;) of String (allowed values=Text,Image,Match Data,Video,Honor,Honor Category,Draw,Practical,Presentation,Certificate)
 
|additionalDataType=String (allowed values=link,pageID,file,table)
 
|additionalDataType=String (allowed values=link,pageID,file,table)
 
|additionalData=String
 
|additionalData=String
 
}}
 
}}
</noinclude><includeonly>{{#cargo_store:_table=Honors_Requirements
+
</noinclude><includeonly>{{#ifeq:{{GetLangSuffix}}|/en||{{#cargo_store:_table=Honors_Requirements
 
|reqID={{{landingID|}}}
 
|reqID={{{landingID|}}}
 
{{!}}{{PAGEID}}
 
{{!}}{{PAGEID}}
{{!}}{{{reqVariantNo|0}}}
+
{{!}}{{{reqVariantNo|}}}
 
{{!}}{{{sectionID|}}}
 
{{!}}{{{sectionID|}}}
 
{{!}}{{{groupID|}}}
 
{{!}}{{{groupID|}}}
Line 48: Line 48:
 
{{!}}{{PAGELANGUAGE}}
 
{{!}}{{PAGELANGUAGE}}
 
|reqPageID={{PAGEID}}
 
|reqPageID={{PAGEID}}
 +
|isChallenging={{{isChallenging|false}}}
 
|language={{PAGELANGUAGE}}
 
|language={{PAGELANGUAGE}}
}}{{#invoke:HonorUtils|printHonorRequirement}}</includeonly>
+
}}}}{{#invoke:HonorUtils|printHonorRequirement}}</includeonly>

Latest revision as of 17:55, 11 June 2022

This is the "HonorRequirement" template.

It should be called in the following format:

{{HonorRequirement
|sectionID=
|groupID=
|level1_ID=
|level2_ID=
|level3_ID=
|level4_ID=
|level5_ID=
|level6_ID=
|isChallenging=
|minReqNeeded=
|text=
|reqTypes=
|additionalDataType=
|additionalData=
}}

Edit the page to see the template text.

This template defines the table "Honors_Requirements". View table.