Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

UniWiki:Editing Guide: Difference between revisions

From EVE University Wiki
m Templates: Update cleanup template example to use the {{Banner}} template
Sen Isu (talk | contribs)
Add info about linking to headings
Line 64: Line 64:
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 [[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.
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 its own article. The link will then appear red instead of yellow, and people will hopefully feel encouraged to make the article.
{{clear}}
To link to a sub-heading of a page, simply add #Heading to the topic, like so: <pre><nowiki>[[Link topic#Heading]]</nowiki></pre>


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]].