Template:Main: Difference between revisions
Template page
More actions
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: | ||
< | <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= | |ja|ko|wuu|yue|zh|zh-hans|zh-hant=noitalic<!--no italics--> | ||
|#default=}}<!-- | |#default=}}|<!-- | ||
-->{{int|wm-commonstrings-mainarticle-prompt| |{{#if:{{{2|}}}|2|1}}}}<!-- | -->{{int|wm-commonstrings-mainarticle-prompt| |{{#if:{{{2|}}}|2|1}}}}<!-- | ||
--> | -->{{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]] }} | ||
</ | </div><noinclude>{{documentation|Template:Main/doc}}</noinclude> | ||