Difference between revisions of "Template:picl/doc"

From WikiCorporates
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
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>{{piclink|http://path/to/url|Text|pic=wpl}}</nowiki></tt> {{piclink|http://path/to/url|Text|pic=wpl}}
+
* <tt><nowiki>{{picl|wpl|page_name|Text}}</nowiki></tt> {{picl|wpl|http://path/to/url|Text}}
−
* <tt><nowiki>{{piclink|http://path/to/url|Text|pic=pbl}}</nowiki></tt> {{piclink|http://path/to/url|Text|pic=pbl}}
+
* <tt><nowiki>{{picl|pbl|page_name|Text}}</nowiki></tt> {{picl|pbl|http://path/to/url|Text}}
−
* <tt><nowiki>{{piclink|http://path/to/url|Text|pic=wbl}}</nowiki></tt> {{piclink|http://path/to/url|Text|pic=wbl}}
+
* <tt><nowiki>{{picl|wbl|http://path/to/url|Text}}</nowiki></tt> {{picl|wbl|http://path/to/url|Text}}
−
* <tt><nowiki>{{piclink|http://path/to/url|Text|pic=ocl}}</nowiki></tt> {{piclink|http://path/to/url|Text|pic=ocl}}
+
* <tt><nowiki>{{picl|ocl|http://path/to/url|Text}}</nowiki></tt> {{picl|ocl|http://path/to/url|Text}}
  
−
Additionally, there are some new pics:
+
Additionally:
−
* <tt><nowiki>{{piclink|http://path/to/url|Text|pic=chk}}</nowiki></tt> {{piclink|http://path/to/url|Text|pic=chk}}
+
* Grace's Guide: <tt><nowiki>{{picl|ggl|page_name|page_name2}}</nowiki></tt> {{picl|ggl|page_name|page_name2}}
−
* <tt><nowiki>{{piclink|http://path/to/url|Text|pic=ggl}}</nowiki></tt> {{piclink|http://path/to/url|Text|pic=ggl}}
+
* Or <tt><nowiki>{{picl|ggl|page_name}}</nowiki></tt> {{picl|ggl|page_name}}
 +
* <tt><nowiki>{{picl|chk|http://path/to/url|Text}}</nowiki></tt> {{picl|chk|http://path/to/url|Text}}
  
 
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>

Latest revision as of 12:23, 21 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|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
  • Or {{picl|ggl|page_name}} page name 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.