Пређи на садржај

Шаблон:For2-lat

Iz Vojne Enciklopedije
Za {{{1}}}, pogledajte {{{2}}}{{#if:|. Za {{{3}}}, pogledajte {{{4}}}{{#if:|. Za {{{5}}}, pogledajte {{{6}}}.|.}}|{{#if:| i {{{3}}}.|.}}}}
Документација шаблона[прикажи] [уреди] [историја] [освежи]

{{#ifeq:for2-lat |dok

    | 

{{#ifeq:show |show

|
        }}{{#if: |
         |   {{#ifexist:Шаблон:For2-lat
                  | [[Kategorija:Документација {{#switch:Шаблон |Шаблон=шаблона |Модул=модула |Корисник=корисничких страница |#default=Википедије}}]]
                  | 
                 }}
        }}
    | 
   }}{{#switch:
 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:Шаблон|Шаблон 
   | template 
   | other 
   }}
 }}

| template | шаблон

| šablon =

| other | #default = }}

Usage

Modelled after {{For-lat}}, {{For2-lat}} was created to allow custom text, including such modifications as quotation marks or a link, as part of both a topic and its suggested article.

With one topic

  • {{{{#if: |замени:}}For2-lat{{#if:TOPIC ||TOPIC}}{{#if:[[Example article]] ||[[Example article]]}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||{{{12}}}}}{{#if: ||{{{13}}}}}{{#if: ||{{{14}}}}}{{#if: ||{{{15}}}}}{{#if: ||{{{16}}}}}{{#if: ||{{{17}}}}}{{#if: ||{{{18}}}}}{{#if: ||{{{19}}}}}{{#if: ||{{{20}}}}}{{#if: ||...}}}}
    Za TOPIC, pogledajte Example article{{#if:|. Za {{{3}}}, pogledajte {{{4}}}{{#if:|. Za {{{5}}}, pogledajte {{{6}}}.|.}}|{{#if:| i {{{3}}}.|.}}}}
  • {{{{#if: |замени:}}For2-lat{{#if:TOPIC ||TOPIC}}{{#if:[[Example article]] and [[Example article 2]]]] ||[[Example article]] and [[Example article 2]]]]}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||{{{12}}}}}{{#if: ||{{{13}}}}}{{#if: ||{{{14}}}}}{{#if: ||{{{15}}}}}{{#if: ||{{{16}}}}}{{#if: ||{{{17}}}}}{{#if: ||{{{18}}}}}{{#if: ||{{{19}}}}}{{#if: ||{{{20}}}}}{{#if: ||...}}}}
    Za TOPIC, pogledajte Example article and Example article 2{{#if:|. Za {{{3}}}, pogledajte {{{4}}}{{#if:|. Za {{{5}}}, pogledajte {{{6}}}.|.}}|{{#if:| i {{{3}}}.|.}}}}

With more than one topic

This template also supports up to three topics and their suggested articles:

  • {{{{#if: |замени:}}For2-lat{{#if:TOPIC ||TOPIC}}{{#if:CUSTOM TEXT ||CUSTOM TEXT}}{{#if:TOPIC 2 ||TOPIC 2}}{{#if:CUSTOM TEXT 2 ||CUSTOM TEXT 2}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||{{{12}}}}}{{#if: ||{{{13}}}}}{{#if: ||{{{14}}}}}{{#if: ||{{{15}}}}}{{#if: ||{{{16}}}}}{{#if: ||{{{17}}}}}{{#if: ||{{{18}}}}}{{#if: ||{{{19}}}}}{{#if: ||{{{20}}}}}{{#if: ||...}}}}
    Za TOPIC, pogledajte CUSTOM TEXT{{#if:CUSTOM TEXT 2|. Za TOPIC 2, pogledajte CUSTOM TEXT 2{{#if:|. Za {{{5}}}, pogledajte {{{6}}}.|.}}|{{#if:TOPIC 2| i TOPIC 2.|.}}}}
  • {{{{#if: |замени:}}For2-lat{{#if:TOPIC ||TOPIC}}{{#if:CUSTOM TEXT ||CUSTOM TEXT}}{{#if:TOPIC 2 ||TOPIC 2}}{{#if:CUSTOM TEXT 2 ||CUSTOM TEXT 2}}{{#if:TOPIC 3 ||TOPIC 3}}{{#if:CUSTOM TEXT 3 ||CUSTOM TEXT 3}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||{{{12}}}}}{{#if: ||{{{13}}}}}{{#if: ||{{{14}}}}}{{#if: ||{{{15}}}}}{{#if: ||{{{16}}}}}{{#if: ||{{{17}}}}}{{#if: ||{{{18}}}}}{{#if: ||{{{19}}}}}{{#if: ||{{{20}}}}}{{#if: ||...}}}}
    Za TOPIC, pogledajte CUSTOM TEXT{{#if:CUSTOM TEXT 2|. Za TOPIC 2, pogledajte CUSTOM TEXT 2{{#if:CUSTOM TEXT 3|. Za TOPIC 3, pogledajte CUSTOM TEXT 3.|.}}|{{#if:TOPIC 2| i TOPIC 2.|.}}}}

Style note: When the context around a wikilink discusses the destination article itself (e.g., For more information, see Xyz; Main article: Xyz; This is discussed in Xyz) rather than the topic of that article (e.g., Tailors often use xyz on their clients' pants), use the capitalization of the article's title in the wikilinked text: [[Xyz]]. The same applies to subheadings: [[Xyz#PDQ|Xyz § PDQ]].