Zunagi:MediaWiki Quick Reference
This quick reference contains commonly used MediaWiki syntax for creating, formatting and maintaining pages on Zunagi.
Use it as a practical guide when writing or editing articles.
π Internal Links
Link to another Zunagi page:
[[Shibuya]]
Link to a page but display different text:
[[Shibuya Sky|the observation deck]]
This links to Shibuya Sky but displays:
the observation deck
Link to a section on another page:
[[Shinjuku#Top Attractions|Shinjuku attractions]]
Link to a section on the same page:
[[#Location|Jump to Location]]
βͺοΈ Redirects
Redirect one page to another:
#REDIRECT [[Target Page Name]]
Example:
#REDIRECT [[Shibuya Nonbei Yokocho]]
Redirect to a specific section:
#REDIRECT [[Shinjuku#Getting Around]]
The redirect command should normally be the first line on the page.
π External Links
Create a labelled external link:
[https://en.tokyotower.co.jp/ Official Tokyo Tower Website]
Create an unlabelled external link:
https://en.tokyotower.co.jp/
Labelled links are generally preferred because they are easier to understand.
Example:
* π [https://en.tokyotower.co.jp/ Official Tokyo Tower Website] * πΊοΈ [https://maps.google.com/?q=Tokyo+Tower Google Maps]
βοΈ Text Formatting
Bold text:
'''Bold text'''
Italic text:
''Italic text''
Bold and italic text:
'''''Bold and italic text'''''
Use bold and italics together for Zunagi hero sentences:
'''''Tokyo Tower is one of Japan's most recognisable landmarks.'''''
Prevent MediaWiki syntax from rendering:
[[Category:Tokyo]]
Display preformatted code or syntax:
<pre> #REDIRECT [[Target Page Name]]
When nesting a `
` example inside another page example, use `<nowiki>` instead to avoid conflicting tags. ---- == π Headings == Page heading: <pre> = Page Title =
Main section:
== History ==
Subsection:
=== Observation Decks ===
Smaller subsection:
==== South Observatory ====
Avoid skipping heading levels.
π Lists
Bullet list:
* First item * Second item * Third item
Numbered list:
# First step # Second step # Third step
Indented bullet list:
* Main item ** Sub-item ** Another sub-item
Indented numbered list:
# Main step ## Sub-step ## Another sub-step
Definition-style list:
; Term : Definition
πΌοΈ Images
Display an image as a thumbnail:
[[File:Tokyo-tower.jpg|thumb|600px|left|Tokyo Tower rises above the Minato skyline.]]
Common image options include:
- `thumb` β displays the image as a thumbnail.
- `600px` β sets the image width.
- `left`, `right` or `center` β controls alignment.
- Final text β becomes the image caption.
Clear content below a floated image:
<div style="clear: both;"></div>
Link directly to a file page:
[[:File:Tokyo-tower.jpg]]
The leading colon prevents the image itself from being displayed.
π Categories
Add a page to a category:
[[Category:Shinjuku]]
Add a page to more than one category:
[[Category:Shinjuku]] [[Category:Tokyo Attractions]]
Link to a category without categorising the current page:
[[:Category:Shinjuku|Shinjuku articles]]
The leading colon is important.
Display category syntax as an example without categorising the page:
[[Category:Tokyo Attractions]]
Place category links at the bottom of the article.
πΊοΈ Maps
Embed a map using coordinates:
{{#display_map:
35.6586,139.7454~Tokyo Tower
|service=googlemaps3
|centre=35.6586,139.7454
|zoom=16
|width=600
}}
Create a clean Google Maps link:
[https://maps.google.com/?q=Tokyo+Tower View on Google Maps]
When extracting coordinates from a Google Maps URL:
- `!3d` is the latitude.
- `!4d` is the longitude.
π§ Page Names and Display Text
Link to a page using its full name:
[[Omoide Yokocho (Memory Lane)]]
Display a shorter name:
[[Omoide Yokocho (Memory Lane)|Omoide Yokocho]]
Display descriptive text:
[[Tokyo Metropolitan Government Building|the free observation decks]]
Use the full article name on first mention where practical, then shorter display text later.
π« Prevent Search Engine Indexing
Add this to an internal documentation page that should not appear in search results:
__NOINDEX__
Example:
__NOINDEX__ = Zunagi:Author Dashboard =
Use this for internal author and administrative pages, not public travel articles.
ποΈ Hidden Categories
Create a hidden category by adding this to the category page:
__HIDDENCAT__
Hidden categories remain useful for administration but are not normally displayed with regular categories.
π Comments
Add a comment that editors can see in the source but readers cannot see on the page:
<!-- This comment will not appear on the published page. -->
Comments are useful for reminders, editing notes and instructions.
π Tables
Create a basic table:
{| class="wikitable"
! Section
! Purpose
|-
| Introduction
| Provides a quick overview.
|-
| Tips
| Adds practical visitor advice.
|}
Use tables only when they make information easier to compare.
π§± Horizontal Dividers
Create a horizontal divider:
----
Use dividers sparingly. Section headings usually provide enough separation.
π€ Special Characters
Use HTML entities when required:
&
Displays:
&
Other examples:
< >
However, normal Unicode characters and accents can usually be entered directly.
π Useful Special Pages
- π Recent Changes
- π All Pages
- π Categories
- π Wanted Pages
- ποΈ Lonely Pages
- π§ Dead-end Pages
- π Uncategorized Pages
- π Broken Redirects
- βͺοΈ Double Redirects
- βοΈ Special Pages
π‘ Common Examples
Link to Shinjuku but display different text:
[[Shinjuku|the district]]
Link to a category without adding the current page to it:
[[:Category:Tokyo Attractions|Tokyo attractions]]
Redirect an alternative spelling:
#REDIRECT [[KabukichΕ]]
Create a bold and italic hero sentence:
'''''Bright neon lights and endless entertainment make KabukichΕ one of Tokyo's most memorable districts.'''''
Display category syntax in an author guide:
[[Category:Tokyo Attractions]]
Remember
Use wiki syntax consistently and keep formatting simple.
The purpose of formatting is to make information easier to read, navigate and maintainβnot to decorate the page unnecessarily.
Know more. Remember everything. Find it fast.