Open main menu

Extension:TopicTags/Page-Tag

< Extension:TopicTags

This is a publicly visible page, offering visitors detailed view about a specific tag, including tag-description, and a list of all pages containing this tag. Clicking any of them will take visitor to the tagged page.

To install this page:Edit

1. Browse to the link below on your wiki, to create a new page on your wiki:

YOUR-WIKI-URL/Tag

2. Copy and paste the wikitext below into the source-editor of the new page, and save the page:

WikiTextEdit

__NOCACHE__{{DISPLAYTITLE:Pages tagged: {{#urlget:Tag}} }}<div class="group" style="height:100px"><div id = "txtBox"></div><br><div id = "btnSave"></div></div><br>{{TagDPL|{{#urlget:Tag}}}}

ExplanationEdit

<!-- disable caching, so (hopefully) stays up-to-date when pages are tagged/untagged -->
 __NOCACHE__ 

<!-- change title of this page to tag-name -->
{{DISPLAYTITLE:Tag: {{#urlget:Tag}}}}

<!-- Placeholder divs for description-editor, to be loaded into divs by Common.js.
The outer "group" div occupies screen space while waiting for controls to load, for clean render. -->

<!-- display list of all pages with this tag -->
{{TagDPL|{{#urlget:Tag}}}}