Jump to content

User:Anomie/Userbox committed identity/doc

From Wikipedia, the free encyclopedia

This userbox functions like Template:Committed identity; it can also serve as a statement that the user does not have a committed identity.

Usage

[edit]

In the usage examples below, parameters in italics are optional.

To specify a hash string directly

[edit]
This user has an SHA-512 committed identity.
See this userbox's invocation.

{{User:Anomie/Userbox committed identity |identity= |hash= |article= |border= |background= }}

To specify a hash string located on a subpage

[edit]
This user has an SHA-512 committed identity.
See /subpage.

{{User:Anomie/Userbox committed identity |subpage= |hash= |article= |border= |background= }}

To state that the user does not have a committed identity

[edit]
This user does not have a committed identity.

{{User:Anomie/Userbox committed identity |border= |background= }}

Parameters

[edit]
|identity=
The user's committed identity hash string. It won't show up in the userbox, since the box is too small, but it will remain available in the template invocation or in a <!-- comment --> if the template is substed.
|subpage=
The subpage (under the page on which the template is being included) containing the committed identity hash. For example, if the template is placed on User:Example with subpage=myID, the userbox will link to User:Example/myID
|hash=
The hash function used to create the committed identity. If this is not specified, the default is "SHA-512".
|article=
The grammatical article for use with the hash function. The default is "an" to match the default hash function. If this is specified at all, it will probably be as "article=a".
|border=
The CSS color code for the border, instead of the default "black".
|background=
The CSS background specification, instead of the default as shown above).

See also

[edit]