Shortcode Examples Page

Tabler.Wiki is based on WordPress, and uses some basic code called Shortcode to enable features within its articles. The following are the most important shortcodes you’d need.

From the Classic Editor page:

1. Add Wiki Link

The most important feature! Useful in 80% of situations. 
Use this to link articles within the Wiki. The Shortcode only requires the name of the article to link to it. The link will remain valid, even if the page is moved within the hierarchy.
DO NOT use URL links 🔗to link Wiki articles.

Link: Input part Article Title, and suggestions will appear. 
Show: Adds alternative text to the Article Title.

Notes: Changing the name of an article breaks this link!

#999999;”>2. Add Wiki Listing

#999999;”>This can be ignored for 98% of articles. 
#999999;”>Lists all articles with the same Category, etc. Used in Other Associations, where articles with category=“Associations (Other)” are automatically listed.

#999999;”>3. Table of Contents

#999999;”>Useful for heavier articles.
#999999;”>Adds a Table of Contents, automatically populated by Headings.
#999999;”>Additional settings are found at the bottom of the Classic Editor page.

#999999;”>Notes: Some characters within the Headings break the anchors.

4. Insert Shortcode Menu

Accordion Style List

Allows multiple Toggles open at a time, and allows default open state with state=“opened”


Item 1 Title

Content for item 1


Item 2 Title

Content for item 2


Item 3 Title

Content for item 3


Item 4 Title

Content for item 4


Single Toggle

Toggle Title
Hello, this is toggle text, initial state closed
Box Title
Here is the content
This is a chunk of text in an Infobox
This is a chunk of text in an Infobox

Background yellow: #FEC640
Text Grey: #908E88

This is a chunk of text in an Infobox

Background yellow: #F2E1B8
Text Grey: #D8D8D8

 

Icons

5. Other Codes

    • [child_pages] — lists all immediate Child pages to that Parent page
    • [wiki_logo_grid titles=“Round Table Albania, Round Table Arabian Gulf”] — adds grid with first picture
    • [association_image] — adds a 200x logo of association within any child pages
    • #999999;”>[wiki_page_count] — shows Total Wiki pages: 1050
    • #999999;”>[wiki_sitemap_accordion] — used only in #999999;” href=“https://tabler.wiki/sitemap/”>Sitemap — Not useful elsewhere
    • #999999;”>[custom_yadawikitoc category=“Associations (Active)” order=“title”] — Lists category, with pictures — Phased out

When you have problems with apostrophes, try using: ˊ

Posted on