1,770
edits
(some documentation) |
(some more documentation) |
||
Line 65: | Line 65: | ||
'''link''' changes the link of the emblem and the text following it. If “no” entered, disables links. If ''text'' parameter is not given and ''link'' is, the value of the ''link'' parameter is displayed as text. | '''link''' changes the link of the emblem and the text following it. If “no” entered, disables links. If ''text'' parameter is not given and ''link'' is, the value of the ''link'' parameter is displayed as text. | ||
'''text''' determines the text displayed after the link. If “no” entered, disables the text and only shows the emblem. | |||
'''size''' determines the size of the emblem. Use standard wiki image size options. Defaults to 20x20px. | '''size''' determines the size of the emblem. Use standard wiki image size options. Defaults to 20x20px. | ||
Line 74: | Line 76: | ||
== Examples == | == Examples == | ||
{{Emblem|Federation}} < | === Basic example === | ||
{{Emblem|Klingon Empire}} < | <pre>{{Emblem|Federation}}</pre> | ||
{{Emblem| | {{Emblem|Federation}} | ||
{{Emblem| | |||
{{Emblem| | Note how the name of the entity changes when the given name is changed. Be careful with capitalization! | ||
{{Emblem| | |||
{{Emblem| | <pre>{{Emblem|United Federation of Planets}}</pre> | ||
{{Emblem|United Federation of Planets}} | |||
If the entity has no recognized emblem, a placeholder is displayed. Consider adding one if you know one! | |||
<pre>{{Emblem|Da'al}}</pre> | |||
{{Emblem|Da'al}} | |||
Some emblems have different variants: | |||
<pre>{{Emblem|Klingon Empire|variant=grey}}</pre> | |||
{{Emblem|Klingon Empire|variant=grey}} | |||
=== Different text === | |||
The text following the emblem doesn't have to be the name of the entity! For example, it can be a location within the entity, a person serving the entity, an agency of the entity or something else! Note how the link behaves in the following examples, depending on if ''text'' or ''link'' parameters are used. | |||
<pre>{{Emblem|Federation|link=Narala}}</pre> | |||
{{Emblem|Federation|link=Narala}} | |||
<pre>{{Emblem|Federation|link=Narala}}</pre> | |||
{{Emblem|Federation|link=Narala}} | |||
<pre>{{Emblem|Federation|text=President|link=Narala}}</pre> | |||
{{Emblem|Federation|text=President|link=Narala}} | |||
If ''link'' is set to “no”, the text won't be a link. Likewise, if ''text'' is set to “no”, the text is not visible at all. | |||
<pre>{{Emblem|Federation|link=no}}</pre> | |||
{{Emblem|Federation|link=no}} | |||
<pre>{{Emblem|Federation|link=no|text=Narala}}</pre> | |||
{{Emblem|Federation|link=no|text=Narala}} | |||
<pre>{{Emblem|Federation|link=Narala|text=no}}</pre> | |||
{{Emblem|Federation|link=Narala|text=no}} | |||
}}</noinclude> | }}</noinclude> |
edits