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)
(Undo)
 
Line 1: Line 1:
 
<noinclude>{{TemplateProblem|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.}}
 
<noinclude>{{TemplateProblem|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.}}
[[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.'''<br/>
 
Usage:
 
Usage:
  <nowiki>{{</nowiki>{{PAGENAME}}|''Pagename''}}<nowiki>}}</nowiki></noinclude><includeonly>{{#if: {{{1|}}}|{{Logo of|pagename={{{1}}}|size=40px}}&nbsp;[[{{SmartLink/Link|{{{1}}}}}|{{SmartLink/Anchor|{{{1}}}}}]]}}</includeonly>
+
  <nowiki>{{</nowiki>{{PAGENAME}}|''Pagename''}}<nowiki>}}</nowiki></noinclude><includeonly>{{#ask: [[-Has logo::{{{1}}}]]}}<includeonly>

Latest revision as of 12:55, 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.

Usage:

{{Logo of|Pagename}}}}