Difference between revisions of "Template:picl/doc"

From WikiCorporates
Jump to navigation Jump to search
Line 1: Line 1:
 
{{Breadcrumbs|[[Template:piclink]]|doc}}
 
{{Breadcrumbs|[[Template:piclink]]|doc}}
−
xxx
+
 
 +
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:
 +
* <tt><nowiki>{{wpl|http://path/to/url|Text}}</nowiki></tt> {{wpl|http://path/to/url|Text}}
 +
* <tt><nowiki>{{pbl|http://path/to/url|Text}}</nowiki></tt> {{pbl|http://path/to/url|Text}}
 +
* <tt><nowiki>{{wbl|http://path/to/url|Text}}</nowiki></tt> {{wbl|http://path/to/url|Text}}
 +
* <tt><nowiki>{{ocl|http://path/to/url|Text}}</nowiki></tt> {{ocl|http://path/to/url|Text}}
 +
by instead calling:
 +
* <tt><nowiki>{{piclink|http://path/to/url|Text|pic=wpl}}</nowiki></tt> {{piclink|http://path/to/url|Text|pic=wpl}}
 +
* <tt><nowiki>{{piclink|http://path/to/url|Text|pic=pbl}}</nowiki></tt> {{piclink|http://path/to/url|Text|pic=pbl}}
 +
* <tt><nowiki>{{piclink|http://path/to/url|Text|pic=wbl}}</nowiki></tt> {{piclink|http://path/to/url|Text|pic=wbl}}
 +
* <tt><nowiki>{{piclink|http://path/to/url|Text|pic=ocl}}</nowiki></tt> {{piclink|http://path/to/url|Text|pic=ocl}}
 +
 
 +
Additionally, there is a new pic:
 +
* <tt><nowiki>{{piclink|http://path/to/url|Text|pic=chk}}</nowiki></tt> {{piclink|http://path/to/url|Text|pic=chk}}
 +
 
 +
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.
 +
 
 +
<includeonly>[[Category:WikiCorporates templates]]</includeonly>

Revision as of 17:08, 25 January 2021

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|http://path/to/url|Text}} TextWikipedia-W.svg
  • {{pbl|http://path/to/url|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:

Additionally, there is a new pic:

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.