Difference between revisions of "Template:Ambiguous"

From Dungeons and Dragons Wiki
Jump to: navigation, search
m
(added optional description entry)
Line 1: Line 1:
 
<includeonly>{|align="center" style="background: #eeeeee; border-style: solid; border-width: 1px; border-color: #333399; border-radius:1em;"
 
<includeonly>{|align="center" style="background: #eeeeee; border-style: solid; border-width: 1px; border-color: #333399; border-radius:1em;"
|align="center"|[[image:Disambiguation.png|30px]]
+
|rowspan="2" align="center"|[[image:Disambiguation.png|30px]]
|align="center"|Also see {{#if: {{{term|}}}|[[{{{term}}} (disambiguation)]]|[[{{{1}}} (disambiguation)]]| }}
+
|align="center" style="font-size:10pt;"|''This article is about '''{{#if: {{{term|}}}|{{{term}}}|{{{1}}}| }}'''{{#if: {{{desc|}}}|, {{{desc}}}.| {{#if: {{{2|}}}|, {{{2}}}.| }} }}''
 +
|-
 +
|align="center" style="font-size:8pt; "|For other uses of {{#if: {{{term|}}}|{{{term}}}|{{{1}}}| }}, see '''[[{{#if: {{{term|}}}|{{{term}}}|{{{1}}}| }} (disambiguation)]]'''.
 
|}</includeonly>
 
|}</includeonly>
 
<noinclude>
 
<noinclude>
Line 8: Line 10:
  
 
==Syntax==
 
==Syntax==
 +
Without description:<br />
 
'''<nowiki>{{ambiguous|term=_____}}</nowiki>'''<br />
 
'''<nowiki>{{ambiguous|term=_____}}</nowiki>'''<br />
 
:-or-<br />
 
:-or-<br />
'''<nowiki>{{ambiguous|_____}}</nowiki>'''<br />
+
'''<nowiki>{{ambiguous|term}}</nowiki>'''<br />
  
{{ambiguous|_____}}
+
With optional description:<br />
 +
'''<nowiki>{{ambiguous|term=_____|des=_____}}</nowiki>'''<br />
 +
:-or-<br />
 +
'''<nowiki>{{ambiguous|term|description}}</nowiki>'''<br />
 +
 
 +
==Examples==
 +
{{ambiguous|foo}}
 +
{{ambiguous|foo|of bar}}
  
  

Revision as of 05:13, 2 February 2017


Usage

For use on a page that is liked to from a disambiguation page. For disambiguation pages use the Template:Disambig tag.

Syntax

Without description:
{{ambiguous|term=_____}}

-or-

{{ambiguous|term}}

With optional description:
{{ambiguous|term=_____|des=_____}}

-or-

{{ambiguous|term|description}}

Examples

Disambiguation.png This article is about foo
For other uses of foo, see foo (disambiguation).
Disambiguation.png This article is about foo, of bar.
For other uses of foo, see foo (disambiguation).


Related Templates