Many thanks to our Patrons who cover ~2/3 of our hosting bill. Please join them if you can.

Difference between revisions of "Template:Logo of"

From Wikispooks
Jump to navigation Jump to search
(Test a fix)
Line 2: Line 2:
 
[[category:Semantic Utility Templates]]'''This is a semantic utility template to display the logo of a page.''' See also [[Template:Image of]].<br/>
 
[[category:Semantic Utility Templates]]'''This is a semantic utility template to display the logo of a page.''' See also [[Template:Image of]].<br/>
 
Usage:
 
Usage:
  <nowiki>{{</nowiki>{{PAGENAME}}|''Pagename''}}<nowiki>}}</nowiki></noinclude><includeonly>{{#ask: [[-Has logo::{{{1}}}]]}}<includeonly>
+
  <nowiki>{{</nowiki>{{PAGENAME}}|''Pagename''}}<nowiki>}}</nowiki></noinclude><includeonly>{{#if: {{{1|}}}|{{Logo of|pagename={{{1}}}|size=40px}}&nbsp;[[{{SmartLink/Link|{{{1}}}}}|{{SmartLink/Anchor|{{{1}}}}}]]}}</includeonly>

Revision as of 01:52, 20 March 2025

Bug1.jpg This template has problems: This works for literals but inserts 2 extra bullets when used to display the logo of a page which is the result of an SMW query. Use the discussion page to see the debate about this.

This is a semantic utility template to display the logo of a page. See also Template:Image of.

Usage:

{{Logo of|Pagename}}}}