Template:InfoBox codeberg/sandbox

From Gentoo Wiki
Jump to:navigation Jump to:search


Correct

One anonymous parameter (a Codeberg path)
Wiki code
{{InfoBox stack
| {{InfoBox codeberg|librewolf/gentoo}}
}}
Main version
Sandbox version


Using header=true
Wiki code
{{InfoBox stack
| {{InfoBox codeberg|librewolf/gentoo|header=true}}
}}
Main version
Resources
Sandbox version
Resources


Indicating a raw URL using raw
Wiki code
{{InfoBox stack
| {{InfoBox codeberg|https://codeberg.org/librewolf/gentoo|raw=true}}
}}
Main version
Sandbox version


Specifying link text using text
Wiki code
{{InfoBox stack
| {{InfoBox codeberg|librewolf/gentoo|text=Other text}}
}}
Main version
Sandbox version


Incorrect

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


Used outside of an {{InfoBox stack}} (wide box, not right-floated)
Wiki code
{{InfoBox codeberg|librewolf/gentoo}}
Main version
Sandbox version
Note
This is the template sandbox page for Template:InfoBox codeberg (diff).
See also the companion subpage for test cases.