Template:Code: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
default to no wordbreak and allow "wb" shorthand as well
Call module only for multiple arguments
Line 1: Line 1:
<includeonly>{{#invoke:delimited tag|output|1={{{1|{{{code|}}}}}}|tag=code|wordbreak={{{wordbreak|{{{wb|}}}}}}}}</includeonly><noinclude>
<includeonly>{{#if: {{{2|}}}{{{wordbreak|{{{wb|}}}}}}
| {{#invoke:delimited tag|output|1={{{1|{{{code|}}}}}}|tag=code|wordbreak={{{wordbreak|{{{wb|}}}}}}}}
| <code>{{{1|{{{code|}}}}}}</code>
}}</includeonly><noinclude>
{{documentation}}
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Revision as of 22:36, 28 November 2024

Documentation[create] [refresh]
This template has no documentation. If you know how to use this template, please create it.