|
|
(One intermediate revision by the same user not shown) |
Line 1: |
Line 1: |
| == Standard Linking ==
| | #REDIRECT [[Help:How To Make Links]] |
| To create links to another page one simply has to add the following code to the page:
| |
| | |
| ----
| |
| <code><nowiki>
| |
| [[Page Name]] | |
| </nowiki></code>
| |
| | |
| ----
| |
| | |
| Where the Page Name is whatever the specific search term you're looking to define.
| |
| | |
| Another useful process that is slightly more advanced is creating links with a different name than the actual path. (i.e: you want to link to the "How to make links" page but you dont want the text itself to show up as How_to_make_links).
| |
| | |
| To accomplish the above, and link to this page without using the actual path as the text for the link itself we would write the following code: | |
| | |
| ----
| |
| <code><nowiki>[[Page Name|Alternate link text]]</nowiki></code>
| |
| ----
| |
| | |
| The above code would still link to the page but would now appears as "Alternate link text" with a link to this page instead of the rather unsightly actual path.
| |
| | |
| Using this method you can create links to various pages within the wiki and still make it look clean and less like actual code, this helps keep the wiki pretty and less confusing and cumbersome to casual users.
| |
| | |
| Wiki also handles pluralized links intelligently. For instance, a link called
| |
| | |
| <code><nowiki>[[Pyreal]]s</nowiki></code>
| |
| | |
| displays as the link ([[Pyreal]]s) even though the page name is still just Pyreal.
| |
| | |
| == Interwiki Linking ==
| |
| Interwiki linking is a means of linking to articles on certain other mediawiki wikis. No external link arrow graphic will be displayed as is normally the case for external URLs.
| |
| | |
| Link to an article on another Wikia wiki by using:
| |
| | |
| <pre>
| |
| [[w:c:domain:Article Name|Article Name]]
| |
| </pre>
| |
| | |
| Where ''domain'' is the particular wiki, for example ours is ''asheron'' (from <nowiki>asheron.wikia.com</nowiki>).
| |
| | |
| | |
| {|border=1
| |
| |align="center"|'''prefix'''
| |
| |align="center"|'''destination URL'''
| |
| |align="center"|'''usage example'''
| |
| |align="center"|'''actual link'''
| |
| |-
| |
| |wikianswers
| |
| |<nowiki>http://answers.wikia.com/wiki/Wikianswers</nowiki>
| |
| |<code><nowiki>[[w:c:wikianswers:Wikianswers|Wikianswers]]</nowiki></code>
| |
| |[[w:c:wikianswers:Wikianswers|Wikianswers]]
| |
| |-
| |
| |wikianswers
| |
| |<nowiki>http://gaming.wikia.com/wiki/Asheron%27s_Call</nowiki>
| |
| |<code><nowiki>[[w:c:gaming:Asheron's Call|Asheron's Call on Wikia Gaming]]</nowiki></code>
| |
| |[[w:c:gaming:Asheron's Call|Asheron's Call on Wikia Gaming]]
| |
| |-
| |
| |Wikia Developers Wiki
| |
| |<nowiki>http://dev.wikia.com/wiki/Wikia_Developers_Wiki</nowiki>
| |
| |<code><nowiki>[[w:c:dev:Wikia Developers Wiki|Wikia Developers Wiki]]</nowiki></code>
| |
| |[[w:c:dev:Wikia Developers Wiki|Wikia Developers Wiki]]
| |
| |-
| |
| |wikianswers
| |
| |<nowiki>http://www.wowwiki.com/Portal:Main</nowiki>
| |
| |<code><nowiki>[[w:c:wowwiki:Portal:Main|WoWwiki]]</nowiki></code>
| |
| |[[w:c:wowwiki:Portal:Main|WoWwiki]]
| |
| |-
| |
| |}
| |
| | |
| | |
| Several Wikimedia-Projects (and others) are ready for interwiki linking. The following are some examples of interwiki prefixes which are available by default:
| |
| | |
| | |
| {|border=1
| |
| |align="center"|'''prefix'''
| |
| |align="center"|'''destination URL'''
| |
| |align="center"|'''usage example'''
| |
| |align="center"|'''actual link'''
| |
| |-
| |
| |commons
| |
| |<nowiki>http://commons.wikimedia.org/wiki/</nowiki>
| |
| |<code><nowiki>[[commons:MediaWiki|Mediawiki Commons]]</nowiki></code>
| |
| |[[commons:MediaWiki|Mediawiki Commons]]
| |
| |-
| |
| |mediazilla
| |
| |<nowiki>http://bugzilla.wikimedia.org/</nowiki>
| |
| |<code><nowiki>[[mediazilla:1209|Mediazilla]]</nowiki></code>
| |
| |[[mediazilla:1209|Mediazilla]]
| |
| |-
| |
| |mediawikiwiki
| |
| |<nowiki>http://www.mediawiki.org/wiki/</nowiki>
| |
| |<code><nowiki>[[mediawikiwiki:Help:Contents|Mediawiki Help]]</nowiki></code>
| |
| |[[mediawikiwiki:Help:Contents|Mediawiki Help]]
| |
| |-
| |
| |wikibooks
| |
| |<nowiki>http://en.wikibooks.org/wiki/</nowiki>
| |
| |<code><nowiki>[[wikibooks:Main Page|Wikibooks]]</nowiki></code>
| |
| |[[wikibooks:Main Page|Wikibooks]]
| |
| |-
| |
| |wikimedia
| |
| |<nowiki>http://wikimediafoundation.org/wiki/</nowiki>
| |
| |<code><nowiki>[[wikimedia:Main Page|Wikimedia]]</nowiki></code>
| |
| |[[wikimedia:Main Page|Wikimedia]]
| |
| |-
| |
| |wikinews
| |
| |<nowiki>http://en.wikinews.org/wiki/</nowiki>
| |
| |<code><nowiki>[[wikinews:Main Page|Wikinews]]</nowiki></code>
| |
| |[[wikinews:Main Page|Wikinews]]
| |
| |-
| |
| |wikiquote
| |
| |<nowiki>http://en.wikiquote.org/wiki/</nowiki>
| |
| |<code><nowiki>[[wikiquote:Main Page|Wikiquote]]</nowiki></code>
| |
| |[[wikiquote:Main Page|Wikiquote]]
| |
| |-
| |
| |wikisource
| |
| |<nowiki>http://en.wikisource.org/wiki/</nowiki>
| |
| |<code><nowiki>[[wikisource:Main Page|Wikisource]]</nowiki></code>
| |
| |[[wikisource:Main Page|Wikisource]]
| |
| |-
| |
| |wikispecies
| |
| |<nowiki>http://species.wikimedia.org/wiki/</nowiki>
| |
| |<code><nowiki>[[wikispecies:Main Page|Wikispecies]]</nowiki></code>
| |
| |[[wikispecies:Main Page|Wikispecies]]
| |
| |-
| |
| |wiktionary
| |
| |<nowiki>http://en.wiktionary.org/wiki/</nowiki>
| |
| |<code> <nowiki>[[wiktionary:Main Page|Wictionary]]</nowiki></code>
| |
| |[[wiktionary:Main Page|Wictionary]]
| |
| |-
| |
| |wikipedia
| |
| |<nowiki>http://en.wikipedia.org/wiki/</nowiki>
| |
| |<code> <nowiki>[[wikipedia:Main Page|Wikipedia]]</nowiki></code>
| |
| |[[wikipedia:Main Page|Wikipedia]]
| |
| |-
| |
| |}
| |
| | |
| [[Category:Help]]
| |