Difference between revisions of "Template:HonorRequirement"

From Pathfinder Wiki
Line 12: Line 12:
 
|text (label=Text)
 
|text (label=Text)
 
|reqType (label=Type)
 
|reqType (label=Type)
|additinalDataType (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)
+
|reqID=String (unique mandatory)
|landingID=Page
+
|landingID=Page (mandatory)
|reqPageID=Page
+
|reqPageID=Page (mandatory)
 
|reqVariantNo=Integer
 
|reqVariantNo=Integer
 
|sectionID=Integer
 
|sectionID=Integer
 
|groupID=Integer
 
|groupID=Integer
|level1_ID=Integer
+
|level1_ID=Integer (mandatory)
 
|level2_ID=Integer
 
|level2_ID=Integer
 
|level3_ID=Integer
 
|level3_ID=Integer
Line 29: Line 29:
 
|minReqNeeded=Integer
 
|minReqNeeded=Integer
 
|text=Wikitext (mandatory)
 
|text=Wikitext (mandatory)
 +
|language=String (mandatory)
 
|reqType=String (allowed values=Text,Image,Match Data,Video,Honor,Honor Category,Draw,Practical,Video,Presentation,Certificate)
 
|reqType=String (allowed values=Text,Image,Match Data,Video,Honor,Honor Category,Draw,Practical,Video,Presentation,Certificate)
|additinalDataType=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>{{#cargo_store:_table=Honors_Requirements
|reqID={{#var:landingID}}
+
|reqID={{{landingID|}}}
|{{#var:reqPageID}}
+
{{!}}{{PAGEID}}
|{{#var:reqVariantNo}}
+
{{!}}{{{reqVariantNo|}}}
|{{{sectionID|}}}
+
{{!}}{{{sectionID|}}}
|{{{groupID|}}}
+
{{!}}{{{groupID|}}}
|{{{level1_ID|}}}
+
{{!}}{{{level1_ID|}}}
|{{{level2_ID|}}}
+
{{!}}{{{level2_ID|}}}
|{{{level3_ID|}}}
+
{{!}}{{{level3_ID|}}}
|{{{level4_ID|}}}
+
{{!}}{{{level4_ID|}}}
|{{{level5_ID|}}}
+
{{!}}{{{level5_ID|}}}
|{{{level6_ID|}}}
+
{{!}}{{{level6_ID|}}}
|{{{isChallenging|false}}}
+
{{!}}{{PAGELANGUAGE}}
|{{#var:language}}
+
|reqPageID={{PAGEID}}
|landingID={{#var:landingID}}
+
|language={{PAGELANGUAGE}}
|reqPageID={{#var:reqPageID}}
 
|reqVariantNo={{#var:reqVariantNo}}
 
 
}}{{#invoke:HonorUtils|printHonorRequirement}}</includeonly>
 
}}{{#invoke:HonorUtils|printHonorRequirement}}</includeonly>

Revision as of 20:55, 13 April 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=
|reqType=
|additionalDataType=
|additionalData=
}}

Edit the page to see the template text.

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