Template:image12: Difference between revisions

From Thesaurus Inscriptionum Raeticarum
Jump to navigationJump to search
No edit summary
No edit summary
 
Line 18: Line 18:
[[Category:File]]
[[Category:File]]
[[alphabet::Venetic alphabet]]
[[alphabet::Venetic alphabet]]
|mainlabel=-
|link=none
|?#
|?alphabet
|?alphabet
|template=image12
|template=image12
Line 30: Line 29:
will be displayed as
will be displayed as


{{#ask:[[Category:File]][[alphabet::Venetic alphabet]]|mainlabel=-|?#|?alphabet|template=image12|format=list|limit=5|searchlabel=}}
{{#ask:[[Category:File]][[alphabet::Venetic alphabet]]|link=none|?alphabet|template=image12|format=list|limit=5|searchlabel=}}


[[Category:Text Module]]
[[Category:Text Module]]
</noinclude><includeonly>{{#vardefine: file|{{#replace: {{{1|}}}|File:|}} }}[[Image:{{#var: file}}|x12px|baseline|{{#var: file}}|{{{2|}}}|link={{{3|}}}]]</includeonly>
</noinclude><includeonly>{{#vardefine: file|{{#replace: {{{1|}}}|File:|}} }}[[Image:{{#var: file}}|x12px|baseline|{{#var: file}}|{{{2|}}}|link={{{3|}}}]]</includeonly>

Latest revision as of 08:53, 10 June 2020

This template serves to display images with the height of text lines (i.e. 12px).

Parameters

  1. Image file name. The prefix (i.e. namespace) File: will be ignored.
  2. Value for the title attribute (optional).
  3. A page to be linked to (optional).

Examples

  • {{image12|A.png}} will be displayed as A.png.
  • {{image12|File:A.png}} will be displayed as A.png.
  • {{image12|A.png|character A}} will be displayed as character A.
  • {{image12|A.png||A}} will be displayed as A.png.
  • {{image12|A.png|go to A|A}} will be displayed as go to A.

When used as printout table of inline queries:

{{#ask:
[[Category:File]]
[[alphabet::Venetic alphabet]]
|link=none
|?alphabet
|template=image12
|format=list
|limit=5
|searchlabel=
}}

will be displayed as

Venetic alphabet, Magrè alphabet, Sanzeno alphabet, Lugano alphabetVenetic alphabet, Magrè alphabet, Sanzeno alphabet, Lugano alphabetVenetic alphabet, Magrè alphabet, Sanzeno alphabet, Lugano alphabetVenetic alphabet, Magrè alphabet, Sanzeno alphabet, Lugano alphabetVenetic alphabet, Magrè alphabet, Sanzeno alphabet, Lugano alphabet