Difference between revisions of "Template:Frictionary"

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

Revision as of 14:10, 21 May 2019

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

{{Frictionary
|shortDescription=
|longDescription=
|year=
}}

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