Template:Codett: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>TheGoodAndHolyLord Redirect: great idea, but already exists. |
meta>Paradoctor Undid revision 904997689 by TheGoodAndHolyLord (talk) completely different use cases |
||
Line 1: | Line 1: | ||
{{cleanup|reason=needs some furniture to become a decent citizen}} | |||
Wrapper for {{tl|code}} that removes background and border, and passes through all other parameters: | |||
{{code|<nowiki>{{code|{{{code|{{{1}}}}}}|lang={{{lang|{{{2|text}}}}}}|class={{{class|}}}|id={{{id|}}}}}|style="background:none; border:none"}}</nowiki>}} | |||
For example, {{code|someMethodOfSomeClass}} becomes {{codett|someMethodOfSomeClass}}. | |||
Can be used to replace {{code|<tt>...</tt>}} tags without disrupting existing text appearance. | |||
<onlyinclude><includeonly>{{code|{{{code|{{{1}}}}}}|lang={{{lang|{{{2|text}}}}}}|class={{{class|}}}|id={{{id|}}}|style="background:none; border:none"}}</includeonly></onlyinclude> | |||
[[Category:Programming typing-aid templates]] | |||
[[Category:Semantic markup templates]] | |||
[[Category:Wikipedia XHTML tag-replacing templates]] |
Revision as of 11:50, 6 July 2019
CLEANUP CANDIDATE
Relevant discussion may be found on the talk page.
Reason: No reason specified.
Wrapper for {{code}} that removes background and border, and passes through all other parameters:
{{code|{{{code|{{{1}}}}}}|lang={{{lang|{{{2|text}}}}}}|class={{{class|}}}|id={{{id|}}}}}|style="background:none; border:none"}}
For example, someMethodOfSomeClass
becomes someMethodOfSomeClass
.
Can be used to replace ...
tags without disrupting existing text appearance.