m (naimportována 1 revize: Import EN templates) |
mBez shrnutí editace |
||
Řádek 1: | Řádek 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 }} }} |
<includeonly>{{#vardefine:params|{{#expr: {{#if: {{{2|}}} | 2 | 0 }} + {{#if: {{{3|}}} | 1 | 0 }} + {{#if: {{{4|}}} | 1 | 0 }} + {{#if: {{{5|}}} | 1 | 0 }} + {{#if: {{{6|}}} | 1 | 0 }} }} |
||
− | }}{{dablink| |
+ | }}{{dablink|Stěžejní článek{{#ifexpr: {{#var:params}} > 1 | s }}: {{#if: {{{title1|}}} | [[{{{1}}}|{{{title1}}}]] | [[{{{1}}}|{{#replace: {{{1}}} | # | § }}]] }}{{ |
#if: {{{2|}}} | {{#ifexpr: {{#var:params}} > 2 | , |  and }} {{#if: {{{title2|}}} | [[{{{2}}}|{{{title2}}}]] | [[{{{2}}}|{{#replace: {{{2}}} | # | § }}]] }} }}{{ |
#if: {{{2|}}} | {{#ifexpr: {{#var:params}} > 2 | , |  and }} {{#if: {{{title2|}}} | [[{{{2}}}|{{{title2}}}]] | [[{{{2}}}|{{#replace: {{{2}}} | # | § }}]] }} }}{{ |
||
#if: {{{3|}}} | {{#ifexpr: {{#var:params}} > 3 | , |  and }} {{#if: {{{title3|}}} | [[{{{3}}}|{{{title3}}}]] | [[{{{3}}}|{{#replace: {{{3}}} | # | § }}]] }} }}{{ |
#if: {{{3|}}} | {{#ifexpr: {{#var:params}} > 3 | , |  and }} {{#if: {{{title3|}}} | [[{{{3}}}|{{{title3}}}]] | [[{{{3}}}|{{#replace: {{{3}}} | # | § }}]] }} }}{{ |
Aktuální verze z 30. 6. 2020, 14:50
This template should be put at the beginning of a section which has main article(s).
The template is sometimes accompanied by a very brief summary of the article it is linking to.
A maximum of 6 articles can be linked to at once.
Usage
{{main|link1|title1=optional title}}
Examples
== Storage Minecart == {{main|Storage Minecart}} Storage Minecarts can be used to store items and easily transport them.
- results in
Storage Minecart
Stěžejní článek: Storage Minecart
Storage Minecarts can be used to store items and easily transport them.
== Water Ladder == {{main|Tutorials/Water Ladder|title1=Water Ladder|Tutorials/Water Elevator|title2=Water Elevator|Tutorials/Water Tram|title3=Water Tram}}
- results in
Water Ladder
Stěžejní článeks: Water Ladder, Water Elevator and Water Tram
[view | edit | history | purge]The above documentation is transcluded from Šablona:Main/doc.