Jump to content

Template:Image of: Difference between revisions

From Deep Politics Wiki
WikiSpooks>Robin
No edit summary
 
WikiBot (talk | contribs)
m Plain formatting, no semantic markup
 
Line 2: Line 2:
The {{t|size}} and {{t|link}} parameters are optional, defaulting to 150px, and linking to the image.
The {{t|size}} and {{t|link}} parameters are optional, defaulting to 150px, and linking to the image.
Usage:
Usage:
  <nowiki>{{</nowiki>{{PAGENAME}}|pagename=''Pagename''|size=200px<nowiki>}}</nowiki></noinclude><includeonly>{{#if: {{#ask: [[-Has image::{{{pagename|}}}]]|link=none}}|[[{{#ask: [[-Has image::{{{pagename|}}}]]|link=none}}{{!}}{{#if: {{{size|}}}|{{{size|}}}|150px}}{{#if: {{{link|}}}|{{!}}link={{{link|}}}}}]]}}<includeonly>
  <nowiki>{{</nowiki>{{PAGENAME}}|pagename=''Pagename''|size=200px<nowiki>}}</nowiki></noinclude><includeonly>{{#if: |[[{{!}}{{#if: {{{size|}}}|{{{size|}}}|150px}}{{#if: {{{link|}}}|{{!}}link={{{link|}}}}}]]}}<includeonly>

Latest revision as of 22:34, 24 September 2026

This is a semantic utility template to display the image of a page. See also Template:Logo of
The size and link parameters are optional, defaulting to 150px, and linking to the image. Usage:

{{Image of|pagename=Pagename|size=200px}}