Template:WNW
You don't need to be Editor-In-Chief to add or edit content to WikiDoc. You can begin to add to or edit text on this WikiDoc page by clicking on the edit button at the top of this page. Next enter or edit the information that you would like to appear here. Once you are done editing, scroll down and click the Save page button at the bottom of the page.
- This version is common to all sites except Wikinews
- Note: Hidden content.
- This is a register macro that might alternatively be stated as {{#ifeq:{{SITENAME}}|Wikinews|{{void}}|n:}}
- where 'n:' is the definition on all other English language sister projects. It's purpose is to simplify local output code and avoid precisely that sort of #ifeq: code statement in working templates.
- Locally on Wikinews (The different version), this template has the effect of replacing the full url version [[n:Some page name|Some page name]] with a local wikilink version which will then reveal bad links (redlinks) if a page does not exist.
- This is used in a number of templates as a sub-template for that reason, especially those needing interwiki portability.
This different method of implementation has instead a hardcoded different fixed value on and off Wikipedia when accessed by the identical template and so allows portable template coding.
| Similar templates at English sister projects [edit] | |||
|---|---|---|---|
| Image:Wikimedia-logo.svg | mta | Meta-wiki | WNW |
| Image:Wikipedia-logo.png | wpd | Wikipedia | WNW |
| cms | Commons | WNW | |
| wbk | Wikibooks | WNW | |
| wnw | Wikinews | WNW | |
| wsp | Wikispecies | WNW | |
| wvy | Wikiversity | WNW | |

