Difference between revisions of "Template:Image of"

From Wikispooks
Jump to navigation Jump to search
(if image exists)
Line 1: Line 1:
 
<noinclude>[[category:Semantic Utility Templates]]'''This is a semantic utility template to display the image of a page.'''<br/>
 
<noinclude>[[category:Semantic Utility Templates]]'''This is a semantic utility template to display the image of a page.'''<br/>
 
Usage:
 
Usage:
  <nowiki>{{</nowiki>{{PAGENAME}}|pagename=''Pagename''|size=200}}<nowiki>}}</nowiki></noinclude><includeonly>{{#if: {{#ask: [[-Has image::{{{pagename|}}}]]|link=none}}|[[{{#ask: [[-Has image::{{{pagename|}}}]]|link=none}}{{#if: {{{size|}}}|{{{size|}}}px|150px}}]]}}<includeonly>
+
  <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}}]]}}<includeonly>

Revision as of 11:07, 14 April 2016

This is a semantic utility template to display the image of a page.
Usage:

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