Difference between revisions of "Template:picl/doc"

From WikiCorporates
Jump to navigation Jump to search
Line 8: Line 8:
 
* <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|page_name|Text|pic=wpl}}</nowiki></tt> {{picl|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>{{picl|page_name|Text|pic=pbl}}</nowiki></tt> {{picl|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>{{picl|http://path/to/url|Text|pic=wbl}}</nowiki></tt> {{picl|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>{{picl|http://path/to/url|Text|pic=ocl}}</nowiki></tt> {{picl|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:
 
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}}
+
* Grace's Guide: <tt><nowiki>{{picl|ggl|page_name|page_name2}}</nowiki></tt> {{picl|ggl|page_name|page_name2}}
−
* <tt><nowiki>{{picl|http://path/to/url|Text|pic=chk}}</nowiki></tt> {{picl|http://path/to/url|Text|pic=chk}}
+
* Or <tt><nowiki>{{picl|ggl|page_name}}</nowiki></tt> {{picl|ggl|page_name}}
 +
* <tt><nowiki>{{picl|http://path/to/url|Text|pic=chk}}</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>

Revision as of 13:30, 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|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|http://path/to/url|Text|pic=chk}} 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.