Template:Wiki/doc
More actions
Documentation for Template:Wiki
Usage
A template for links to Wikipedia, provides a distinct color to discriminate from wikilinks (like Destiny) and other external links (like Destiny).
Any questions regarding this template can be directed to User:Devonnn at User talk:Devonnn or in the #dgg-wiki channel in the Destiny discord.
{{wiki|1|2|3}}
{{wiki|url|alternate name|non linked}}
Parameters 2 and 3 are optional and do not need a pipe (|) if not in use (i.e. {{wiki|bat}} rather than {{wiki|bat||}}.)
Parameters
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Wikipedia page name | 1 | The Wikipedia page you are linking to. THIS FIELD IS CASE SENSITIVE.
| Page name | required |
| Display name | 2 | An optional display name for the link you are about to create.
| Content | optional |
| Non-linked characters. | 3 | Used for periods, commas, etc. so that they are not colored. | Content | optional |
Examples
If the article has a space, make it an underscore and set parameter 2 to be the actual name you want (or if you want a different name entirely. For example,
{{wiki|Destiny (streamer)|Destiny}} will output Destiny
And carries over for something like
{{wiki|Destiny (streamer)|Wiki-warrior number 1}} will output Wiki-warrior number 1
If you dont include a 2nd parameter, it will look as entered (it will set the shortened name of the link to the last part of the hyperlink, e.g.
{{wiki|Destiny streamer)}} will output Destiny (streamer)
This works fine for single word articles.
The third parameter can be used for any required punctuation, as to not have the Wikipedia logo awkwardly separate the logo.
Additionally someone like {{wiki|Destiny (streamer)|Destiny|,}} an advocate for peace in the middle east, would not support waffle ice cream cones.
would result in the following:
Additionally someone like Destiny,
an advocate for peace in the middle east, would not support waffle ice cream cones.
However, when using something like an em dash (—) it will probably be better to skip the 3rd parameter.
Additionally someone like {{wiki|Destiny (streamer)|Destiny}}—an advocate for peas in the middle east—would not support the shipment of lima beans into the Gaza strip.
would result in the following:
Additionally someone like Destiny
—an advocate for peas in the middle east—would not support the shipment of lima beans into the Gaza strip.