Difference between revisions of "Template:picl"
Jump to navigation
Jump to search
(Created page with "{{#switch:{{{pic}}} |wpl={{wpl|{{{1}}}|{{{2}}}}}<!-- calls Template:wpl --> |pbl={{pbl|{{{1}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}}} |ocl={{ocl|{{{1}}}|{{{2|}}}|{{{3|}}}}} |wbl=<span c...") |
|||
| Line 4: | Line 4: | ||
|ocl={{ocl|{{{1}}}|{{{2|}}}|{{{3|}}}}} | |ocl={{ocl|{{{1}}}|{{{2|}}}|{{{3|}}}}} | ||
|wbl=<span class="plainlinks">[{{{1}}} {{#if:{{{2|}}}|{{{2}}}|Website}}]</span><sup>[[File:Archive-org-sm.svg|9x10px]]</sup><!-- replaces Template:wbl --> | |wbl=<span class="plainlinks">[{{{1}}} {{#if:{{{2|}}}|{{{2}}}|Website}}]</span><sup>[[File:Archive-org-sm.svg|9x10px]]</sup><!-- replaces Template:wbl --> | ||
| − | |chk=<span class="plainlinks">[{{{1}}}|{{{2 | + | |chk=<span class="plainlinks">[{{{1}}}|{{{2}}}]</span><sup>[[File:Deals-Tick.svg|11x10px]]</sup> |
}}<noinclude>{{doc2}}</noinclude> | }}<noinclude>{{doc2}}</noinclude> | ||
Revision as of 16:41, 25 January 2021
[edit] Documentation
< 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|wpl|page_name|Text}} http://path/to/url]

- {{picl|pbl|page_name|Text}} http://path/to/url]

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

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

Additionally:
- Grace's Guide: {{picl|ggl|page_name|page_name2}} page_name]

- Or {{picl|ggl|page_name}} page_name]

- {{picl|chk|http://path/to/url|Text}} http://path/to/url]

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.