Template:Main: Difference between revisions
Template page
More actions
m Broke things and not an improvement. {{Hatnote}} uses TemplateStyles, not "''" |
Redo: Wrap {{hatnote}} properly, using its CSS. This obviates the duplicate #switch. |
||
| Line 1: | Line 1: | ||
<div class="noprint" lang="{{BCP47|{{{lang|}}}}}" dir="auto"> | <div class="noprint" lang="{{BCP47|{{{lang|}}}}}" dir="auto"> | ||
{{Hatnote|class={{#switch:{{{lang|{{PAGELANGUAGE}}}}} | |||
|ja|ko|wuu|yue|zh|zh-hans|zh-hant=<!--no italics--> | |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 18: | Line 16: | ||
| {{#if:{{{9|}}}||void}}9 = {{#if:{{{9|}}} | <bdi lang="">[[{{{9|}}}]]</bdi> }} | | {{#if:{{{9|}}}||void}}9 = {{#if:{{{9|}}} | <bdi lang="">[[{{{9|}}}]]</bdi> }} | ||
| = | | = | ||
}}<!-- | }}}}<!-- | ||
-->{{#if: {{{10|}}} | [[Category:Template:Main/too many parameters]] }} | -->{{#if: {{{10|}}} | [[Category:Template:Main/too many parameters]] }} | ||
</div><noinclude>{{documentation|Template:Main/doc}}</noinclude> | </div><noinclude>{{documentation|Template:Main/doc}}</noinclude> | ||