Difference between revisions of "Template:picl"

From WikiCorporates
Jump to navigation Jump to search
Line 17: Line 17:
 
|chk=<span class="plainlinks">[{{{1}}} {{{2}}}]</span>&#8239;<sup>[[File:Deals-Tick.svg|11x10px]]</sup>
 
|chk=<span class="plainlinks">[{{{1}}} {{{2}}}]</span>&#8239;<sup>[[File:Deals-Tick.svg|11x10px]]</sup>
 
|#default=No such option "{{{pic}}}"in switch.-->
 
|#default=No such option "{{{pic}}}"in switch.-->
−
}}<noinclude>{{doc2}}</noinclude>
 

Revision as of 13:23, 1 February 2021

No such option "{{{pic}}}"in switch.

[edit] Documentation

There seem to be an increasing plethora of tiny templates, all of which present a url with a small pic. This template should be used in place of:

  • {{wpl|page name|Text}} TextWikipedia-W.svg
  • {{pbl|page_name|Text}} TextPowerbase-graphic.svg
  • {{wbl|http://path/to/url|Text}} TextArchive-org-sm.svg
  • {{ocl|http://path/to/url|Text}} OpenCorporates-sm.svg

by instead calling:

  • {{picl|wpl|page_name|Text}} TextWikipedia-W.svg
  • {{picl|pbl|page_name|Text}} TextPowerbase-graphic.svg
  • {{picl|wbl|http://path/to/url|Text}} TextArchive-org-sm.svg
  • {{picl|ocl|http://path/to/url|Text}} OpenCorporates-sm.svg


Additionally:

  • Grace's Guide: {{picl|ggl|page_name|page_name2}} page name2 Graces-Guide-sm.svg
  • {{picl|chk|http://path/to/url|Text}} Text Deals-Tick.svg


Replace the old templates with this one whenever possible; over time there will be fewer and fewer use cases, and eventually they can be deleted.