Difference between revisions of "Template:Frictionary"

From Beyond Social
 
(47 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>{{#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)}}}
  
Long description: {{{longDescription|(Empty)}}}
+
'''Long description''': {{{longDescription|(Empty)}}}
  
Categories: {{#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}}=
 +
 +
<div class="overview">
 +
{{#ask:[[Category:{{PAGENAME}}]]
 +
|?Thumb
 +
|?Category
 +
|?Modification date
 +
|?Creation date
 +
|?Last editor is
 +
|link=none
 +
|format=template
 +
|template=Overview
 +
}}
 
</div>
 
</div>
  
 
[[Category:Frictionary]]
 
[[Category:Frictionary]]
 +
{{#arraymap:{{{year|(empty)}}}|,|x|[[Category:x]]}}
 +
 
</includeonly>
 
</includeonly>

Latest revision as of 14: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.