More actions
m Restructure red link example to reduce the number of wanted pages. |
|||
| (One intermediate revision by the same user not shown) | |||
| Line 9: | Line 9: | ||
* [[Template:Icon]], [[Template:Incursion rats]] and [[Sansha's Manual]] have nicely-formatted tables | * [[Template:Icon]], [[Template:Incursion rats]] and [[Sansha's Manual]] have nicely-formatted tables | ||
* [https://meta.wikimedia.org/wiki/Help:Sorting Table sorting] | * [https://meta.wikimedia.org/wiki/Help:Sorting Table sorting] | ||
* [[Template:Tooltip]] (cf [[User: | * [[Template:Tooltip]] (cf [[User:Cassiel Seraphim/Sandbox#Tooltips]]) looks very fancy | ||
==== UniWiki CSS ==== | ==== UniWiki CSS ==== | ||
| Line 65: | Line 65: | ||
Linking is one of the most powerful aspects of a wiki, so it is important that it is understood well. First you must realise there is a difference between intra-wiki links (links to other articles on this wiki) and external links (links to external websites/pages). | Linking is one of the most powerful aspects of a wiki, so it is important that it is understood well. First you must realise there is a difference between intra-wiki links (links to other articles on this wiki) and external links (links to external websites/pages). | ||
The basic intra-wiki link has the following syntax: <pre><nowiki>[[Link topic]]</nowiki></pre> where '''Link topic''' is a page on the wiki. For example, if we wish to link to [[Main Page]] we use <pre><nowiki>[[Main Page]]</nowiki></pre> These topics can include spaces, as the wiki will automatically reformat the text to the correct link. You can also link to pages that do not exist yet such as this [[ | The basic intra-wiki link has the following syntax: <pre><nowiki>[[Link topic]]</nowiki></pre> where '''Link topic''' is a page on the wiki. For example, if we wish to link to [[Main Page]] we use <pre><nowiki>[[Main Page]]</nowiki></pre> These topics can include spaces, as the wiki will automatically reformat the text to the correct link. You can also link to pages that do not exist yet such as this Intentionally [[red link]], when you feel that subject deserves it's own article. The link will then appear red instead of yellow, and people will hopefully feel encouraged to make the article. | ||
As you can see, the text inside the double square brackets is both the destination (the page it links to) and the description (the text that shows up as link). In order to change the description you can use the pipe ('|') in the following syntax: <pre><nowiki>[[Link topic|link text]]</nowiki></pre> For example: <pre><nowiki>[[Main Page|Example]]</nowiki></pre> becomes [[Main Page|Example]]. | As you can see, the text inside the double square brackets is both the destination (the page it links to) and the description (the text that shows up as link). In order to change the description you can use the pipe ('|') in the following syntax: <pre><nowiki>[[Link topic|link text]]</nowiki></pre> For example: <pre><nowiki>[[Main Page|Example]]</nowiki></pre> becomes [[Main Page|Example]]. | ||