Difference between revisions of "Template:picl/doc"

From WikiCorporates
Jump to navigation Jump to search
Line 3: Line 3:
 
There seem to be an increasing plethora of tiny templates, all of which present a url with a small pic.
 
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:
 
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>{{wpl|page name|Text}}</nowiki></tt> {{wpl|page name|Text}}
−
* <tt><nowiki>{{pbl|http://path/to/url|Text}}</nowiki></tt> {{pbl|http://path/to/url|Text}}
+
* <tt><nowiki>{{pbl|page_name|Text}}</nowiki></tt> {{pbl|page_name|Text}}
 
* <tt><nowiki>{{wbl|http://path/to/url|Text}}</nowiki></tt> {{wbl|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}}
 
* <tt><nowiki>{{ocl|http://path/to/url|Text}}</nowiki></tt> {{ocl|http://path/to/url|Text}}
 
by instead calling:
 
by instead calling:
−
* <tt><nowiki>{{picl|http://path/to/url|Text|pic=wpl}}</nowiki></tt> {{picl|http://path/to/url|Text|pic=wpl}}
+
* <tt><nowiki>{{picl|page_name|Text|pic=wpl}}</nowiki></tt> {{picl|http://path/to/url|Text|pic=wpl}}
−
* <tt><nowiki>{{picl|http://path/to/url|Text|pic=pbl}}</nowiki></tt> {{picl|http://path/to/url|Text|pic=pbl}}
+
* <tt><nowiki>{{picl|page_name|Text|pic=pbl}}</nowiki></tt> {{picl|http://path/to/url|Text|pic=pbl}}
 
* <tt><nowiki>{{picl|http://path/to/url|Text|pic=wbl}}</nowiki></tt> {{picl|http://path/to/url|Text|pic=wbl}}
 
* <tt><nowiki>{{picl|http://path/to/url|Text|pic=wbl}}</nowiki></tt> {{picl|http://path/to/url|Text|pic=wbl}}
 
* <tt><nowiki>{{picl|http://path/to/url|Text|pic=ocl}}</nowiki></tt> {{picl|http://path/to/url|Text|pic=ocl}}
 
* <tt><nowiki>{{picl|http://path/to/url|Text|pic=ocl}}</nowiki></tt> {{picl|http://path/to/url|Text|pic=ocl}}
  
−
Additionally, there are some new pics:
+
Additionally:
 +
* Grace's Guide: <tt><nowiki>{{picl|page_name|Text|pic=ggl}}</nowiki></tt> {{picl|page_name|Text|pic=ggl}} Or <tt><nowiki>{{picl|page_name|pic=ggl}}</nowiki></tt> {{picl|page_name|pic=ggl}}
 
* <tt><nowiki>{{picl|http://path/to/url|Text|pic=chk}}</nowiki></tt> {{picl|http://path/to/url|Text|pic=chk}}
 
* <tt><nowiki>{{picl|http://path/to/url|Text|pic=chk}}</nowiki></tt> {{picl|http://path/to/url|Text|pic=chk}}
−
* <tt><nowiki>{{picl|page_name|Text|pic=ggl}}</nowiki></tt> {{picl|page_name|Text|pic=ggl}}
 
  
 
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.
 
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>
 
<includeonly>[[Category:WikiCorporates templates]]</includeonly>

Revision as of 00:14, 1 February 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|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|page_name|Text|pic=wpl}} No such option "wpl"in switch.
  • {{picl|page_name|Text|pic=pbl}} No such option "pbl"in switch.
  • {{picl|http://path/to/url|Text|pic=wbl}} No such option "wbl"in switch.
  • {{picl|http://path/to/url|Text|pic=ocl}} No such option "ocl"in switch.

Additionally:

  • Grace's Guide: {{picl|page_name|Text|pic=ggl}} No such option "ggl"in switch. Or {{picl|page_name|pic=ggl}} No such option "ggl"in switch.
  • {{picl|http://path/to/url|Text|pic=chk}} No such option "chk"in switch.

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.