Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:NW2: Difference between revisions

Template page
doc
m replacing deprecated template redirect
Line 14: Line 14:
Prevents wrapping of lines like {{tl|nowrap}} (redirect: {{tl|NW}}) plus the option to also apply <tt>/<code> tags or <nowiki> tags or both. This also works without any of those but if all you want is the no wrapping part use {{tl|NW}} instead.
Prevents wrapping of lines like {{tl|nowrap}} (redirect: {{tl|NW}}) plus the option to also apply <tt>/<code> tags or <nowiki> tags or both. This also works without any of those but if all you want is the no wrapping part use {{tl|NW}} instead.


Note: The nowiki option makes use of {{mwl|tag}}, which doesn't work correctly with templates.
Note: The nowiki option makes use of {{x|tag}}, which doesn't work correctly with templates.


The order doesn't matter as long as the ''text'' goes last (e.g. {{tlf|NW2|c|nw|''text''}} is the same as {{tlf|NW2|nw|c|''text''}}).
The order doesn't matter as long as the ''text'' goes last (e.g. {{tlf|NW2|c|nw|''text''}} is the same as {{tlf|NW2|nw|c|''text''}}).

Revision as of 07:38, 27 February 2010

{{{1}}}



Prevents wrapping of lines like {{Nowrap}} (redirect: {{NW}}) plus the option to also apply <tt>/<code> tags or <nowiki> tags or both. This also works without any of those but if all you want is the no wrapping part use {{NW}} instead.

Note: The nowiki option makes use of {{#tag:}}, which doesn't work correctly with templates.

The order doesn't matter as long as the text goes last (e.g. {{NW2|c|nw|text}} is the same as {{NW2|nw|c|text}}).

  • {{NW2|c|text}} - nowrap + <code>
  • {{NW2|tt|text}} - nowrap + <tt>
  • {{NW2|nw|text}} - nowrap + <nowiki>
  • {{NW2|c|nw|text}} - nowrap + <code> + <nowiki>
  • {{NW2|nw|tt|text}} - nowrap + <tt> + <nowiki>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.