Template:T/div/end: Difference between revisions

From Noisebridge
Jump to navigation Jump to search
Mcint (talk | contribs)
m fix small, closing div in error case
Mcint (talk | contribs)
includeonly: fix words to match magic-words
Line 3: Line 3:
==[[onlyinclude]]’d==
==[[onlyinclude]]’d==
''Include on template source page''
''Include on template source page''
===includeonly===
* includeonly -- ''Include only on relying page''—--avoiding showing the self-call default error on this page. (idea / wish / how to not show error on this template definition page)
''Include only on relying page''—--avoiding showing the self-call default error on this page.
<onlyinclude><small>
<onlyinclude><small>
{{#if: {{{caller|{{{1|}}}}}}
{{#if: {{{caller|{{{1|}}}}}}

Revision as of 00:10, 26 March 2026

See also Template:T and Template:T/div. Use with Template:T/div/use

Include on template source page

  • includeonly -- Include only on relying page—--avoiding showing the self-call default error on this page. (idea / wish / how to not show error on this template definition page)

Missing caller= parameter. Please use {{t/div/end|T/div/end}} in the current template, to include the calling templates name in this "sub-routine" template's output.


Original

<!-- onlyinclude><span style="float:right"><small>see [[Template:t/div|t/div]]</small></span></div></onlyinclude -->

examples

Asof

div div div

T:asof · see t/div
{{t/div/use}}div div div{{T/div/end|asof}}

empty

div div div

Missing caller= parameter. Please use {{t/div/end|T/div/end}} in the current template, to include the calling templates name in this "sub-routine" template's output.
{{t/div/use}}div div div{{T/div/end}}
Special:WhatLinksHere/Template:T/div/end ({{linkshere}} A·M·C·T):