Template:Main: Difference between revisions
Template page
More actions
I misunderstood how <div> and <span> work - the <span> was a totally separate element. |
m Broke things and not an improvement. {{Hatnote}} uses TemplateStyles, not "''" |
||
| Line 1: | Line 1: | ||
<div class="noprint" lang="{{BCP47|{{{lang|}}}}}" dir="auto"> | <div class="noprint" lang="{{BCP47|{{{lang|}}}}}" dir="auto"> | ||
: {{#switch:{{{lang|{{PAGELANGUAGE}}}}} | |||
|ja|ko|wuu|yue|zh|zh-hans|zh-hant= | |ja|ko|wuu|yue|zh|zh-hans|zh-hant=<!--no italics--> | ||
|#default=}}<!-- | |#default=''}}<!-- | ||
-->{{int|wm-commonstrings-mainarticle-prompt| |{{#if:{{{2|}}}|2|1}}}}<!-- | -->{{int|wm-commonstrings-mainarticle-prompt| |{{#if:{{{2|}}}|2|1}}}}<!-- | ||
-->{{#switch:{{{lang|{{PAGELANGUAGE}}}}} | -->{{#switch:{{{lang|{{PAGELANGUAGE}}}}} | ||
|ja|ko|wuu|yue|zh|zh-hans|zh-hant= | |ja|ko|wuu|yue|zh|zh-hans|zh-hant=<!--no italics--> | ||
|#default=}}{{List | |#default=''}}{{List | ||
| uselang = {{{lang|}}} | | uselang = {{{lang|}}} | ||
| 1 = <bdi lang="">[[{{{1|<noinclude>Example</noinclude>}}}]]</bdi> | | 1 = <bdi lang="">[[{{{1|<noinclude>Example</noinclude>}}}]]</bdi> | ||
| Line 18: | Line 18: | ||
| {{#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> | ||