Jump to content
Toggle menu
  • 3 articles
  • 75 files
  • 7 users
  • 37.9K 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:Main: Difference between revisions

Template page
Wrap {{hatnote}}, which already provides italics and <div>.
Redo: Wrap {{hatnote}} properly, using its CSS. This obviates the duplicate #switch.
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<span class="noprint" lang="{{BCP47|{{{lang|}}}}}" dir="auto">
<div class="noprint" lang="{{BCP47|{{{lang|}}}}}" dir="auto">
{{Hatnote|{{#switch:{{{lang|{{PAGELANGUAGE}}}}}
{{Hatnote|class={{#switch:{{{lang|{{PAGELANGUAGE}}}}}
|ja|ko|wuu|yue|zh|zh-hans|zh-hant=''<!--disable italics-->
|ja|ko|wuu|yue|zh|zh-hans|zh-hant=noitalic<!--no italics-->
|#default=}}<!--
|#default=}}|<!--
-->{{int|wm-commonstrings-mainarticle-prompt|&#32;|{{#if:{{{2|}}}|2|1}}}}<!--
-->{{int|wm-commonstrings-mainarticle-prompt|&#32;|{{#if:{{{2|}}}|2|1}}}}<!--
-->{{#switch:{{{lang|{{PAGELANGUAGE}}}}}
-->{{List
|ja|ko|wuu|yue|zh|zh-hans|zh-hant=''<!--disable italics-->
|#default=}}{{List
  | uselang = {{{lang|}}}
  | uselang = {{{lang|}}}
  | 1 = <bdi lang="">[[{{{1|<noinclude>Example</noinclude>}}}]]</bdi>
  | 1 = <bdi lang="">[[{{{1|<noinclude>Example</noinclude>}}}]]</bdi>
Line 20: Line 18:
}}}}<!--
}}}}<!--
-->{{#if: {{{10|}}} | [[Category:Template:Main/too many parameters]] }}
-->{{#if: {{{10|}}} | [[Category:Template:Main/too many parameters]] }}
</span><noinclude>{{documentation|Template:Main/doc}}</noinclude>
</div><noinclude>{{documentation|Template:Main/doc}}</noinclude>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.