| ||||||||
Navigation Home Page
Click here to expand or collapse... Every You, Every Me (Youtube release)
Upcoming BL Series (Start date) Click here to expand or collapse... Top Form (Thu 20 Mar 2025)
Click here to expand or collapse... Art Of Love (OFFLINE)
Beautiful Scars (Episode 4 finale OFFLINE)
Boyband (No International release)
Friend Forever/Our Love Is Sick (OFFLINE)
Great Men Academy (OFFLINE)
Healing Thingyan (OFFLINE)
Hehe & He (Season 3 - on hiatus)
Hook Up (Season 2) (OFFLINE)
If I Love A Boy (OFFLINE)
Indigo (OFFLINE)
Jack And Jill (OFFLINE)
Lakan (OFFLINE)
Make A Wish [Philippines] (OFFLINE)
Make A Wish [Thailand] (No International release)
Missing Piece (OFFLINE)
My Secret Love (OFFLINE)
Quaranthings (OFFLINE)
Roommate (Season 1 OFFLINE)
Sugar Dog Life (No International release)
Truly Very Yours (Season 1) (OFFLINE)
Unguarded (Season 3) (OFFLINE)
Venus In The Sky (Youtube release)
Click here to expand or collapse...Click here to expand or collapse... Destined/Fated (OFFLINE)
Infinity (OFFLINE)
Kiss The Night (OFFLINE)
Overlooked Love (OFFLINE)
The Next Door Crush (OFFLINE)
The Whisperer (EP10 Finale never released)
Unexpected (OFFLINE)
Click here to expand or collapse... = Cambodia = China = Hong Kong = India |
LinkVariables< Layout Variables | Variables | Other Variables > admins (advanced)
array('{$Group}.$1', '$1.$1', '$1.{$DefaultName}')
<a class='wikilink' href='\$LinkUrl'>\$LinkText</a>
<a class='createlinktext' href='\$PageUrl?action=edit'>\$LinkText</a>
<a class='createlink' href='\$PageUrl?action=edit'>?</a>
<a class='selflink' href='\$LinkUrl'>\$LinkText</a>
<a class='categorylink' href='\$LinkUrl'>\$LinkText</a>
<a class='urllink' href='\$LinkUrl' title='\$LinkAlt' rel='nofollow'>\$LinkText</a>
All InterMap links default to $UrlLinkFmt , unless there is a specific $IMapLinkFmt entry.
Examples of custom formats to allow different styling via classes:
Links to http: insecure url links:
$IMapLinkFmt['http:'] = "<a class='httplink urllink' href='\$LinkUrl'>\$LinkText</a>";
Links to https: secure pages:
$IMapLinkFmt['https:'] = "<a class='httpslink urllink' href='\$LinkUrl'>\$LinkText</a>";
Links to PmWiki: InterMap shortcut:
$IMapLinkFmt['PmWiki:'] = "<a class='pmwikilink urllink' href='\$LinkUrl'>\$LinkText</a>";
Note that if you have enabled ObfuscateLinkIMap (core function based on DeObMail), the snippet can be customized in:
$IMapLinkFmt['obfuscate-mailto:']
The default (for ObfuscateLinkIMap) is:
$IMapLinkFmt['obfuscate-mailto:'] = "<span class='_pmXmail' title=\"\$LinkAlt\"><span class='_t'>\$LinkText</span><span class='_m'>\$LinkUrl</span></span>";
The ObfuscateLinkIMap logic expects the snippet to have some recognisable properties -- classes, elements, otherwise it may not work. Start with the default snippet, make small modifications, and test if it works.
$WikiWordCount[=['PhD']=0; # Don't convert "PhD"=] $WikiWordCount['WikiWord']=5; # Convert WikiWord 5 times # the following lines keep a page from linking to itself $title = [=FmtPageName=]('$Title_',$pagename); $WikiWordCount[$title]=0;
Categories: PmWiki Developer < Layout Variables | Variables | Other Variables > This page may have a more recent version on pmwiki.org: PmWiki:LinkVariables, and a talk page: PmWiki:LinkVariables-Talk. | |||||||
View
Edit
History
Attach
Print
Page last modified on August 18, 2024, at 10:52 PM |