Difference between revisions of "Template:SaveLocalizationHonors"

From Pathfinder Wiki
(Created page with "<noinclude>{{#cargo_declare: _table=Localizations_Honors |id=String (mandatory;unique) |text=Wikitext |lang=String (mandatory) |landingID=Number }}</noinclude><includeonly>{{#...")
 
(moved cargo declate to it's own template)
 
(3 intermediate revisions 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
 
}}</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={{{text}}}}}
+
|landingID={{#var:honorID}}
}}{{{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.