Difference between revisions of "Template:picl/doc"
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| | + | * <tt><nowiki>{{wpl|page name|Text}}</nowiki></tt> {{wpl|page name|Text}} |
| − | * <tt><nowiki>{{pbl| | + | * <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| | + | * <tt><nowiki>{{picl|page_name|Text|pic=wpl}}</nowiki></tt> {{picl|http://path/to/url|Text|pic=wpl}} |
| − | * <tt><nowiki>{{picl| | + | * <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 | + | 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}} | ||
| − | |||
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
< Template:picl < doc
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}} Text

- {{pbl|page_name|Text}} Text

- {{wbl|http://path/to/url|Text}} Text

- {{ocl|http://path/to/url|Text}}

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.