Template:Yes/sandbox

From Gentoo Wiki
Jump to: navigation, search


Correct

No parameter
Wiki code {| |- |{{Yes}} |}

Main version
Yes
Sandbox version
Yes
One unnamed parameter
Wiki code {| |- |{{Yes|some text}} |}

Main version
some text
Sandbox version
some text
Parameter: align (specifying alignment)
Wiki code {| |- |{{Yes|align=right}} |}

Main version
Yes
Sandbox version
Yes
Parameter: style (changing the style)
Wiki code {| |- |{{Yes|style=background: white;}} |}

Main version
Yes
Sandbox version
Yes

Note: Do not use quotation marks.

Incorrect

Two unnamed parameters (not supported)
Wiki code {| |- |{{Yes|some text|additional text}} |}

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