Template:Confused/sandbox

From Gentoo Wiki
Jump to: navigation, search


Correct

One anonymous parameter: title of exisiting article
Wiki code
{{Confused|LVM}}
Main version

Not to be confused with LVM.

Sandbox version


One anonymous parameter: title of nonexistent article
Wiki code
{{Confused|Missing page}}
Main version

Not to be confused with Missing page.

Sandbox version


Creating a piped link
Wiki code
{{Confused|LXDE{{!}}the LXDE desktop environment}}
Main version

Not to be confused with the LXDE desktop environment.

Sandbox version


↑ This how you could "explain" the link without needing to provide an explicit wikilink (which fails, as seen below).

Incorrect

No parameter (error message)
Wiki code
{{Confused}}
Main version
{{Confused template error}}
Parameter 1 not defined. For correct usage see Confused template's documentation on the 1 parameter.
Sandbox version


One anonymous parameter: wikilinked article title (reveals raw wikicode)
Wiki code
{{Confused|[[LXD]]}}
Main version

Not to be confused with [[LXD]].

Sandbox version


Trying to explain the link you're making (exposes raw wikicode)
Wiki code
{{Confused|the [[LXDE]] desktop environment}}
Main version

Not to be confused with [[the LXDE desktop environment]].

Sandbox version


↑ See the "Creating a piped link" example above for how to do this properly.


Two anonymous parameters (not supported yet)
Wiki code
{{Confused|LXD|LXC}}
Main version

Not to be confused with LXD.

Sandbox version
Note
This is the template sandbox page for Template:Confused (diff).
See also the companion subpage for test cases.