Zunagi:MediaWiki Quick Reference

From zunagi

Revision as of 17:59, 15 July 2026 by Lee G (talk | contribs) (Created page with "__NOINDEX__ 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: <pre> Shibuya </pre> Link to a page but display different text: <pre> the observation deck </pre> This links to '''Shibuya Sky''' but displays: ''the observation deck'' Link to a section on an...")
(diff) ← Older revision | Latest revision (diff) | Newer revision β†’ (diff)

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.


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.


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


πŸ’‘ 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.