Difference between revisions of "Template:Frictionary"

From Beyond Social
 
(52 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
<pre>
 
<pre>
 
{{Frictionary
 
{{Frictionary
|short_description=
+
|shortDescription=
|long_description=
+
|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|short_description=String|long_description=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|short_description={{{short_description|}}}|long_description={{{long_description|}}}|categories={{{categories|}}} }}
+
<includeonly>{{#cargo_store:_table=Frictionary|shortDescription={{{shortDescription|}}}|longDescription={{{longDescription|}}}|year={{{year|}}} }}
  
Short description: {{{short_description}}}
+
'''Short description''': {{{shortDescription|(Empty)}}}
  
Long description: {{{long_description}}}
+
'''Long description''': {{{longDescription|(Empty)}}}
  
Categories: {{{categories}}}
+
'''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 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.