Difference between revisions of "Template:Frictionary"

From Beyond Social
Line 10: Line 10:
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
{{#cargo_declare:_table=Frictionary|short_description=String|long_description=Text|categories=List (,) of String (allowed values=2018,2019)}}
+
{{#cargo_declare:_table=Frictionary|shortDescription=String|longDescription=Text|categories=List (,) of String (allowed values=2018,2019)}}
  
 
</noinclude>
 
</noinclude>
  
<includeonly>{{#cargo_store:_table=Frictionary|short_description={{{short_description|}}}|long_description={{{long_description|}}}|categories={{{categories|}}} }}
+
<includeonly>{{#cargo_store:_table=Frictionary|shortDescription={{{shortDescription|}}}|longDescription={{{longDescription|}}}|categories={{{categories|}}} }}
  
Short description: {{{short_description|(Empty)}}}
+
Short description: {{{shortDescription|(Empty)}}}
  
Long description: {{{long_description|(Empty)}}}
+
Long description: {{{longDescription|(Empty)}}}
  
 
Categories: {{#arraymap:{{{categories|(Empty)}}}|,|x|[[:Category:x|x]]}}
 
Categories: {{#arraymap:{{{categories|(Empty)}}}|,|x|[[:Category:x|x]]}}

Revision as of 11:28, 29 April 2019

This is the "Frictionary" template. It should be called in the following format:

{{Frictionary
|short_description=
|long_description=
|categories=
}}

Edit the page to see the template text. This template defines the table "Frictionary". View table.