.
Template:MainBold
Wikicars, a place to share your automotive knowledge
Jump to navigationJump to search
- Wikipedia main article{{#if:|s}}: {{#ifeq:Wikipedia|Wikicars |{{#if: |[[ {{{1}}} |]]|[[ {{{1}}} |{{{1}}}]]}} |{{#if: |[[W:{{{1}}} |]]|[[W:{{{1}}} |{{{1}}}]] }} }}{{#if:
|{{#if:|, | and }}{{#ifeq:Wikipedia|Wikicars |{{#if: |[[ {{{2}}} |]]|[[ {{{2}}} |{{{2}}}]]}} |{{#if: |[[W:{{{2}}} |]]|[[W:{{{2}}} |{{{2}}}]] }} }}}}{{#if: |{{#if:|, |, and }}{{#ifeq:Wikipedia|Wikicars |{{#if: |[[ {{{3}}} |]]|[[ {{{3}}} |{{{3}}}]]}} |{{#if: |[[W:{{{3}}} |]]|[[W:{{{3}}} |{{{3}}}]] }} }}}}{{#if: |{{#if:|, |, and }}{{#ifeq:Wikipedia|Wikicars |{{#if: |[[ {{{4}}} |]]|[[ {{{4}}} |{{{4}}}]]}} |{{#if: |[[W:{{{4}}} |]]|[[W:{{{4}}} |{{{4}}}]] }} }}}}{{#if: |{{#if:|, |, and }}{{#ifeq:Wikipedia|Wikicars |{{#if: |[[ {{{5}}} |]]|[[ {{{5}}} |{{{5}}}]]}} |{{#if: |[[W:{{{5}}} |]]|[[W:{{{5}}} |{{{5}}}]] }} }}}}{{#if: |, and {{#ifeq:Wikipedia|Wikicars |{{#if: |[[ {{{6}}} |]]|[[ {{{6}}} |{{{6}}}]]}} |{{#if: |[[W:{{{6}}} |]]|[[W:{{{6}}} |{{{6}}}]] }} }}}}{{#if: | (too many parameters in {{{{#ifeq:Wikipedia|Wikicars |{{#if: mainBold|mainBold|Template:mainBold}} |{{#if: mainBold|mainBold|Template:mainBold }} }}}})}}'
{{#ifeq:Wikicars|Wikimedia Commons|
{{#ifeq:MainBold|WikiPtmp1| |}}|{{#ifeq:Wikicars|Wikipedia|
{{#ifeq:MainBold|Commonstmp1| |}}|
{{#ifeq:MainBold|WikiPtmp1| |}}
{{#ifeq:MainBold|Commonstmp1| |}}}} }}
Usage
- This template was generated to tag Main articles on Category pages so they don't get lost in the background clutter so as to help newer and occasional editors navigate.
- To link to a "main article" on a topic, use {{mainBold|The other article|Optional article#2|... |Optional article#nn}}.
- Use of this template in article space is probably stylistically {{#ifeq:Wikipedia|Wikicars |{{#if: Wikicars Manual of style|Wikicars Manual of style|WP:MOS}} |{{#if: Wikicars Manual of style|Wikicars Manual of style|WP:MOS }} }} unwise.
Example
- Using 'A1', 'A2', ... as token articles (may be red-linked in example)
{{MainBold{{#if:A1||A1}}{{#if:A2||A2}}{{#if:A3||A3}}{{#if:A4||etc.}}}} gives:
- Wikipedia main article{{#if:A2|s}}: {{#ifeq:Wikipedia|Wikicars |{{#if: |[[A1 |]]|A1}} |{{#if: |[[W:A1 |]]|A1 }} }}{{#if:A2
|{{#if:A3|, | and }}{{#ifeq:Wikipedia|Wikicars |{{#if: |[[A2 |]]|A2}} |{{#if: |[[W:A2 |]]|A2 }} }}}}{{#if:A3 |{{#if:A4|, |, and }}{{#ifeq:Wikipedia|Wikicars |{{#if: |[[A3 |]]|A3}} |{{#if: |[[W:A3 |]]|A3 }} }}}}{{#if:A4 |{{#if:A5|, |, and }}{{#ifeq:Wikipedia|Wikicars |{{#if: |[[A4 |]]|A4}} |{{#if: |[[W:A4 |]]|A4 }} }}}}{{#if:A5 |{{#if:A6|, |, and }}{{#ifeq:Wikipedia|Wikicars |{{#if: |[[A5 |]]|A5}} |{{#if: |[[W:A5 |]]|A5 }} }}}}{{#if:A6 |, and {{#ifeq:Wikipedia|Wikicars |{{#if: |[[A6 |]]|A6}} |{{#if: |[[W:A6 |]]|A6 }} }}}}{{#if: | (too many parameters in {{{{#ifeq:Wikipedia|Wikicars |{{#if: mainBold|mainBold|Template:mainBold}} |{{#if: mainBold|mainBold|Template:mainBold }} }}}})}}'
See also
- Template:Tlxw
- Template:Tlxw, prefixes "For a more comprehensive list, see" in comma separated list format.
- Template:Tlxw
- Template:Tlxw
- Template:Tlxw