Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
WYOS Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Template:Topic Card
Template
Discussion
English
Read
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit source
View history
Refresh
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
<includeonly> <!-- Visible Infobox (for display on the wiki page only) --> {| class="wikitable" style="float:right; margin-left:1em; width:300px;" |- | colspan="2" style="text-align:center;" | {{#if:{{{Card Image|}}}|[[File:{{{Card Image}}}|290px]]|}} |- ! Display Title | {{{Display Title|}}} |- ! Card Description | {{{Card Description|}}} |- ! Appears in Main Category | {{{Appears in Main Category|}}} |- ! Platform Section | {{{Belongs to Platform Section|}}} |- ! Tags (for query) | {{#arraymap:{{{Queries for Tag}}}|,|x|[[x|{{#replace:x|Tag:|}}]]|, }} {{#if:{{{Match Mode|}}}| {{!}}- ! Match Mode {{!}} {{{Match Mode}}} }} {{#if:{{{Excludes Tag|}}}| {{!}}- ! Excludes Tag {{!}} {{#arraymap:{{{Excludes Tag}}}|,|y|[[y|{{#replace:y|Tag:|}}]]|, }} }} |} <!-- Hidden Semantic Data (headless CMS source of truth) --> <div style="display:none;"> [[Has display title::{{{Display Title|}}}]] <!-- Robust image handling: add File: if missing --> {{#if:{{{Card Image|}}} | [[Has card image::{{#ifeq:{{lc:{{#titleparts:{{{Card Image}}}|1|1}}}}|file|{{{Card Image}}}|File:{{{Card Image}}}}}]] }} [[Has card description::{{{Card Description|}}}]] {{#if:{{{Appears in Main Category|}}} | [[Appears in main category::{{{Appears in Main Category}}}]] }} {{#if:{{{Belongs to Platform Section|}}} | [[Belongs to platform section::{{{Belongs to Platform Section}}}]] }} <!-- Set multi-value properties by splitting the comma-separated input from the form --> {{#if:{{{Queries for Tag|}}} | {{#arraymap:{{{Queries for Tag}}}|,|x|[[Queries for tag::x]]|\s}} }} {{#if:{{{Excludes Tag|}}} | {{#arraymap:{{{Excludes Tag}}}|,|y|[[Excludes tag::y]]|\s}} }} [[Match mode::{{{Match Mode|ANY}}}]] <!-- Publication status (Draft by default) --> [[Has status::{{{Status|Draft}}}]] [[Category:Topic Cards]] </div> </includeonly><noinclude> This template creates a Topic Card (curated entry point for hub pages). <templatedata> { "params": { "Display Title": { "label": "Display Title", "description": "Main title shown on the card.", "type": "line", "required": true }, "Card Image": { "label": "Card Image", "description": "Image file for the card (e.g., \"Topic_habits.webp\").", "type": "wiki-file-name" }, "Card Description": { "label": "Card Description", "description": "Short teaser text for the card.", "type": "string", "required": true }, "Appears in Main Category": { "label": "Appears in Main Category", "description": "Main Category page where this card appears (e.g., \"Master Yourself\").", "type": "wiki-page-name", "required": true }, "Belongs to Platform Section": { "label": "Platform Section", "description": "Exactly \"Knowledge\" or \"Resources\".", "type": "line", "suggestedvalues": [ "Knowledge", "Resources" ], "required": true }, "Queries for Tag": { "label": "Tags (for query)", "description": "Comma-separated Tag pages. Accepts either \"Tag:Habits, Tag:Routines\" or \"Habits, Routines\".", "type": "line", "required": true }, "Excludes Tag": { "label": "Excludes Tag", "description": "Optional comma-separated Tag pages to exclude.", "type": "line" }, "Match Mode": { "label": "Match Mode", "description": "\"ANY\" (OR) or \"ALL\" (AND). Defaults to ANY.", "type": "line", "suggestedvalues": [ "ANY", "ALL" ] }, "Status": { "label": "Status", "description": "\"Draft\", \"Published\", or \"Archived\". Defaults to \"Draft\".", "type": "line", "suggestedvalues": [ "Draft", "Published", "Archived" ], "default": "Draft" } }, "description": "Template for Topic Cards used on hub pages.", "format": "block" } </templatedata> </noinclude>
Summary:
Please note that all contributions to WYOS Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
WYOS Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)