Template:Main: Difference between revisions

From BusinessCraft Wiki
Jump to navigation Jump to search
minecraft>East6
(Undo revision 2152564 by East6 (talk))
m (1 revision imported)
Line 1: Line 1:
<includeonly>{{#vardefine:params|{{#expr: {{#if: {{{2|}}} | 2 | 0 }} + {{#if: {{{3|}}} | 1 | 0 }} + {{#if: {{{4|}}} | 1 | 0 }} + {{#if: {{{5|}}} | 1 | 0 }} + {{#if: {{{6|}}} | 1 | 0 }} + {{#if: {{{7|}}} | 1 | 0 }} + {{#if: {{{8|}}} | 1 | 0 }} + {{#if: {{{9|}}} | 1 | 0 }} + {{#if: {{{10|}}} | 1 | 0 }} + {{#if: {{{11|}}} | 1 | 0 }} + {{#if: {{{12|}}} | 1 | 0 }} }}
<includeonly>{{#invoke:Labelled list hatnote|labelledList|Main article|Main articles|Main page|Main pages}}</includeonly><noinclude>
}}{{hatnote|Main {{#switch: {{NAMESPACE:{{{1}}}}}||{{ns:10000}}|{{ns:10002}}=article|page}}{{#ifexpr: {{#var:params}} > 1 | s }}: {{#if: {{{title1|}}} | [[{{{1}}}|{{{title1}}}]] | [[{{{1}}}|{{#replace: {{{1}}} | # | &nbsp;§&nbsp; }}]] }}{{
{{documentation}}
#if: {{{2|}}} | {{#ifexpr: {{#var:params}} > 2 | , | &#32;and }} {{#if: {{{title2|}}} | [[{{{2}}}|{{{title2}}}]] | [[{{{2}}}|{{#replace: {{{2}}} | # | &nbsp;§&nbsp; }}]] }} }}{{
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
#if: {{{3|}}} | {{#ifexpr: {{#var:params}} > 3 | , | &#32;and }} {{#if: {{{title3|}}} | [[{{{3}}}|{{{title3}}}]] | [[{{{3}}}|{{#replace: {{{3}}} | # | &nbsp;§&nbsp; }}]] }} }}{{
#if: {{{4|}}} | {{#ifexpr: {{#var:params}} > 4 | , | &#32;and }} {{#if: {{{title4|}}} | [[{{{4}}}|{{{title4}}}]] | [[{{{4}}}|{{#replace: {{{4}}} | # | &nbsp;§&nbsp; }}]] }} }}{{
#if: {{{5|}}} | {{#ifexpr: {{#var:params}} > 5 | , | &#32;and }} {{#if: {{{title5|}}} | [[{{{5}}}|{{{title5}}}]] | [[{{{5}}}|{{#replace: {{{5}}} | # | &nbsp;§&nbsp; }}]] }} }}{{
#if: {{{6|}}} | {{#ifexpr: {{#var:params}} > 6 | , | &#32;and }} {{#if: {{{title6|}}} | [[{{{6}}}|{{{title6}}}]] | [[{{{6}}}|{{#replace: {{{6}}} | # | &nbsp;§&nbsp; }}]] }} }}{{
#if: {{{7|}}} | {{#ifexpr: {{#var:params}} > 7 | , | &#32;and }} {{#if: {{{title7|}}} | [[{{{7}}}|{{{title7}}}]] | [[{{{7}}}|{{#replace: {{{7}}} | # | &nbsp;§&nbsp; }}]] }} }}{{
#if: {{{8|}}} | {{#ifexpr: {{#var:params}} > 8 | , | &#32;and }} {{#if: {{{title8|}}} | [[{{{8}}}|{{{title8}}}]] | [[{{{8}}}|{{#replace: {{{8}}} | # | &nbsp;§&nbsp; }}]] }} }}{{
#if: {{{9|}}} | {{#ifexpr: {{#var:params}} > 9 | , | &#32;and }} {{#if: {{{title9|}}} | [[{{{9}}}|{{{title9}}}]] | [[{{{9}}}|{{#replace: {{{9}}} | # | &nbsp;§&nbsp; }}]] }} }}{{
#if: {{{10|}}} | {{#ifexpr: {{#var:params}} > 10 | , | &#32;and }} {{#if: {{{title10|}}} | [[{{{10}}}|{{{title10}}}]] | [[{{{10}}}|{{#replace: {{{10}}} | # | &nbsp;§&nbsp; }}]] }} }}{{
#if: {{{11|}}} | {{#ifexpr: {{#var:params}} > 11 | , | &#32;and }} {{#if: {{{title11|}}} | [[{{{11}}}|{{{title11}}}]] | [[{{{11}}}|{{#replace: {{{11}}} | # | &nbsp;§&nbsp; }}]] }} }}{{
#if: {{{12|}}} | &#32;and {{#if: {{{title12|}}} | [[{{{12}}}|{{{title12}}}]] | [[{{{12}}}|{{#replace: {{{12}}} | # | &nbsp;§&nbsp; }}]] }} }}}}</includeonly><noinclude>
{{Documentation}}
<!-- Put categories/interwiki on the documentation page -->
</noinclude>
</noinclude>

Revision as of 13:54, 17 December 2023