Difference between revisions of "Template:Frictionary"

From Beyond Social
 
(40 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.
</noinclude><includeonly>{| class="wikitable"
+
{{#cargo_declare:_table=Frictionary|shortDescription=String|longDescription=Text|year=List (,) of String (allowed values=2018,2019,2020)}}
! shortDescription
 
| [[shortDescription::{{{shortDescription|}}}]]
 
|-
 
! longDescription
 
| [[longDescription::{{{longDescription|}}}]]
 
|-
 
! categories
 
| {{#arraymap:{{{categories|}}}|,|x|[[categories::x]]}}
 
  
|}
+
</noinclude>
 +
 
 +
<includeonly>{{#cargo_store:_table=Frictionary|shortDescription={{{shortDescription|}}}|longDescription={{{longDescription|}}}|year={{{year|}}} }}
 +
 
 +
'''Short description''': {{{shortDescription|(Empty)}}}
 +
 
 +
'''Long description''': {{{longDescription|(Empty)}}}
 +
 
 +
'''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>
  
 
[[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.