Difference between revisions of "Template:SaveLocalizationHonors"

From Pathfinder Wiki
(moved cargo declate to it's own template)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<noinclude>{{#cargo_declare:
+
<noinclude>{{#cargo_attach:
_table=Localizations_Honors
+
_table = Localizations_Honors
|id=String (mandatory;unique)
+
}}[[Category:Localization Templates]]</noinclude><includeonly>{{#vardefine:honorID|{{GetHonorLandingPageID|honorname={{{id}}}}}}}{{#cargo_store:
|text=Wikitext
 
|lang=String (mandatory)
 
|landingID=Number
 
}}
 
[[Category:Localization Templates]]</noinclude><includeonly>{{#cargo_store:
 
 
_table=Localizations_Honors
 
_table=Localizations_Honors
 
|id={{{id}}}/{{PAGELANGUAGE}}
 
|id={{{id}}}/{{PAGELANGUAGE}}
 
|text={{{text}}}
 
|text={{{text}}}
 
|lang={{PAGELANGUAGE}}
 
|lang={{PAGELANGUAGE}}
|landingID={{GetHonorLandingPageID|honorname={{{id}}}}}
+
|landingID={{#var:honorID}}
}}{{#invoke:Utilities|outputNoWiki|{{{text}}}}}</includeonly>
+
}}|-
 +
|{{#invoke:Utilities|outputNoWiki|{{{id}}}}}
 +
|{{#invoke:Utilities|outputNoWiki|{{{text}}}}}
 +
|{{#invoke:Utilities|outputNoWiki|{{#var:honorID}}}}</includeonly>

Latest revision as of 00:26, 4 August 2024

This template adds rows to the table "Localizations_Honors", which is declared by the template Cargo/Localizations Honors/declare. View table.