Templates

From Redazione
< How it works
Revision as of 12:44, 22 August 2020 by Admin (talk | contribs)
Jump to navigation Jump to search

Templates are a way to insert elements in a wiki page by reference, and they usually transform one or more parameters provided to the template in some new element. Besides all the wikipedia's templates or mediawiki templates which can be used or imported if missing, here are some additional templates specifically created for this platform. To use them, go to "Edit source" in the top menu, and insert the text as shown below.


text highlight

{{CI text highlight| text to highlight}}

produces:

text to highlight


inline logo

{{CI inline logo}}

produces:

Cultura italiana


notice box

{{CI notice box | some notice }}

produces:

some notice


pdf thumbnail link

{{CI pdf thumbnail link | Knuth-plass-breaking.pdf }}

produces:

{{{caption}}}



clear div

{{CI clear div }}

the latter does not show anything, but avoid the elements above it to float if they are floating elements, precisely like the pdf thumbnail link above.