Difference between revisions of "Template:Frictionary"

From Beyond Social
 
(29 intermediate revisions by 2 users not shown)
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,2020)}}
  
 
</noinclude>
 
</noinclude>
  
<includeonly>{{#default_form:Frictionary}} {{#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|[[:Category:x|x]]}}
 +
 
 +
<br><br>
 +
 
 +
{{#formlink:form=Frictionary|link text=edit this Frictionary item|link type=button|target={{FULLPAGENAME}} }}
  
 
=Pages related to {{PAGENAME}}=
 
=Pages related to {{PAGENAME}}=
Line 38: Line 42:
  
 
[[Category:Frictionary]]
 
[[Category:Frictionary]]
 +
{{#arraymap:{{{year|(empty)}}}|,|x|[[Category:x]]}}
  
 
</includeonly>
 
</includeonly>

Latest revision as of 13:29, 26 October 2020

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.