Difference between revisions of "Template:Colorbox"
Jump to navigation
Jump to search
Template documentation[create]
imported>Frietjes (allow for cleaner substitution in the case that there is no second parameter) |
imported>Primefac (adding autosubst) |
||
| Line 2: | Line 2: | ||
|{{Color box|{{{1|}}}|{{<includeonly>safesubst:</includeonly>#if:{{{3|}}}|[[{{{3}}}|{{{2}}}]]|{{{2|}}}}}|border=darkgray}} | |{{Color box|{{{1|}}}|{{<includeonly>safesubst:</includeonly>#if:{{{3|}}}|[[{{{3}}}|{{{2}}}]]|{{{2|}}}}}|border=darkgray}} | ||
|{{Color box|{{{1|}}}|border=darkgray}} | |{{Color box|{{{1|}}}|border=darkgray}} | ||
| − | }}{{<includeonly>safesubst:</includeonly>#if:{{{3|}}}|{{<includeonly>safesubst:</includeonly>ifsubst||[[Category:Pages using colorbox template with third parameter]]}}}}<noinclude> | + | }}{{<includeonly>safesubst:</includeonly>#if:{{{3|}}}|{{<includeonly>safesubst:</includeonly>ifsubst||[[Category:Pages using colorbox template with third parameter]]}}}}<noinclude>{{Subst only|auto=yes}} |
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 22:16, 18 October 2016
| This template should always be substituted (i.e., use {{subst:Colorbox}}). Any accidental transclusions will be automatically substituted by a bot. |
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |