Template:For: Difference between revisions

MDFW - The Mystery Dungeon Tree of Information.
Jump to navigation Jump to search
Minecraft Wiki>Fadyblok240
m (removed image to reduce line spacing)
Minecraft Wiki>Fadyblok240
(Changed to be more like Wikipedia's corresponding template, but this is a breaking change, so check all transclusions of this template)
Line 1: Line 1:
<includeonly>{{Hatnote|For {{#if:{{{1|}}}|{{{1}}}|other uses}}, see {{#if:{{{2|}}}|[[{{{2}}}|{{ #replace: {{{2}}} | # | &nbsp;§&nbsp; }}]]{{#ifeq:{{{3|}}}|and|&#32;and {{#if:{{{4|}}}|[[{{{4}}}|{{ #replace: {{{4}}} | # | &nbsp;§&nbsp; }}]]|[[{{PAGENAME}} (disambiguation)]]}}}}|[[{{PAGENAME}} (disambiguation)]]}}.<!--
<includeonly>{{Hatnote|For {{#if: {{{1|}}} | {{{1}}} | other uses}}, see {{
-->{{#if:{{{1|}}}|{{#if:{{{3|}}}|<!--
  #if: {{{2|}}}
   -->{{#ifeq:{{{3|}}}|and||<!-- "and" is a special word, don't output "For and, ..."
  | [[:{{{2}}}]]
    -->&#32;&#32;For {{#ifeq:{{{3}}}|1|other uses|{{{3}}}}}, see {{#if:{{{4|}}}|[[{{{4}}}|{{ #replace: {{{4}}} | # | &nbsp;§&nbsp; }}]]{{#ifeq:{{{5|}}}|and|&#32;and {{#if:{{{6|}}}|[[{{{6}}}|{{ #replace: {{{6}}} | # | &nbsp;§&nbsp; }}]]|[[{{PAGENAME}} (disambiguation)]]}}}}|[[{{PAGENAME}} (disambiguation)]]}}.}}<!--
  | [[{{FULLPAGENAME}} (disambiguation)|{{PAGENAME}} (disambiguation)]]
  -->{{#if:{{{5|}}}|<!--
  }} {{
     -->{{#ifeq:{{{5|}}}|and||<!--
   #if: {{{4|}}}{{{5|}}}
      -->&#32;&#32;For {{#ifeq:{{{5}}}|1|other uses|{{{5}}}}}, see {{#if:{{{6|}}}|[[{{{6}}}|{{ #replace: {{{6}}} | # | &nbsp;§&nbsp; }}]]{{#ifeq:{{{7|}}}|and|&#32;and {{#if:{{{8|}}}|[[{{{8}}}|{{ #replace: {{{8}}} | # | &nbsp;§&nbsp; }}]]|[[{{PAGENAME}} (disambiguation)]]}}}}|[[{{PAGENAME}} (disambiguation)]]}}.}}<!--
  | , [[:{{{3}}}]], {{
     -->{{#if:{{{7|}}}|<!--
    #if: {{{5|}}}
      -->{{#ifeq:{{{7|}}}|and||<!--
     | [[:{{{4}}}]], and [[:{{{5}}}]]
        -->&#32;&#32;For {{#ifeq:{{{7}}}|1|other uses|{{{7}}}}}, see {{#if:{{{8|}}}|[[{{{8}}}|{{ #replace: {{{8}}} | # | &nbsp;§&nbsp; }}]]|[[{{PAGENAME}} (disambiguation)]]}}.}}<!--
     | and [[:{{{4}}}]]
     -->}}<!--
     }}
   -->}}<!--
   | {{
-->}}}}}}<!--
    #if: {{{3|}}}
-->{{#if:{{{_nocat|}}}||{{#if:{{{1|}}}||{{#if:{{{2|}}}|[[Category:Hatnote templates using unusual parameters|A{{PAGENAME}}]]}}}}}}<!--
    | &nbsp;and [[:{{{3}}}]]
-->{{#ifeq:{{#if:{{{4|}}}{{{5|}}}{{{6|}}}{{{7|}}}{{{8|}}}|a}}{{#if:{{{3|}}}||b}}|ab|[[Category:Hatnote templates using unusual parameters]]}}<!--If 4 to 8 and not 3
    }}
-->{{#ifeq:{{#if:{{{6|}}}{{{7|}}}{{{8|}}}|a}}{{#if:{{{5|}}}||b}}|ab|[[Category:Hatnote templates using unusual parameters]]}}<!--If 6 to 8 and not 5
  }}.
-->{{#ifeq:{{#if:{{{8|}}}|a}}{{#if:{{{7|}}}||b}}|ab|[[Category:Hatnote templates using unusual parameters]]}}<!--If 8 and not 7
}}</includeonly><noinclude>
--></includeonly><noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Revision as of 00:11, 18 September 2020