Available skin variables for Nucleus skins.
Shows an add-item form for the currently selected blog (usually the default one). Mostly used in conjunction with preview
None
index
<%additemform%>
Inserts the full URL to the Admin Area
None
all
<a href="<%adminurl%>">Admin Area</a>
Shows the archive for the selected month and the selected blog (usually the default one), using a given template
Required
Optional
archive
<%archive(mytemplate)%> <%archive(mytemplate,mycategory)%>
Inserts a formatted date for an archive date. Using no parameters, this will either insert '15 august 2002' or 'august 2002' if the archive is for august 2002
^ Name ^ Value ^
Locale | Locale in which the date must be formatted |
Format | Date format (strftime variables) |
archive
Archive for <%archivedate%> Archive for <%archivedate(dutch)%> Archive for <%archivedate(en,%B %Y)%>
The same as the archivelist skinvar, but shows an entry for each day instead of for each month
Required
Optional
index, archive, archivelist, search, item
<%archivedaylist(mytemplate)%> <%archivedaylist(mytemplate,mycategory)%>
Shows the list of available archives for the currently selected blog (usually the default one), using a given template
Required
Optional
index, archive, archivelist, search, item
Inserts a link to the archive for the currently selected blog and category (or the default blog when no blog selected)
Optional
<a href…
tag will be outputted, rather than a raw linkall
<%archivelink%>
Either day
or month
, indicating which type of archive is currently being shown
None
archive
Inserts the most recently added items of the currently active blog (usually the default one) into the skin.
Required:
Optional:
10(5)
shows 10 items starting from item 5index, item, archive, archivelist, search
<%blog(default,15)%> <%blog(default,5(15))%> <%blog(mytemplate)%> <%blog(mytemplate,5,mycategory)%>
Inserts a setting specific to the currently selected blog (usually the default one)
index, archive, archivelist, search, item, member
<%blogsetting(name)%> <%blogsetting(id)%> <%blogsetting(desc)%> <a href="<%blogsetting(url)%>">...</a>
Inserts some information about the currently selected category. When no category is selected, does nothing.
Optional
all
<%category%> <%category(id)%> <%category(desc)%> <%category(name)%>
Inserts a list of categories for a blog (defaults to the currently selected blog), using a given template
Required
Optional
index, archive, archivelist, search, item
<%categorylist(mytemplate)%> <%categorylist(mytemplate,myweblog)%>
Shows the comments for the currently selected item using a given template.
item
<%comments(mytemplate)%>
Adds a commentform to an item page.
Optional:
item
<%commentform%> <%commentform(http://host/thanks.html)%>
Inserts the message corresponding to the error that occurred
None
error
<%errormessage%>
Inserts a content block only when certain conditions are fullfilled
Only the if
skinvar has options
all
<%if(loggedin)%> Welcome back! <%else%> Welcom guest! <%endif%> <%if(category,catname,Off Topic)%> Welcome to the 'Off Topic' category. <%endif%>
If you want something to be displayed only if a condition is not fullfilled, you can use a construct like this:
<%if(skintype,error)%><%else%> <%blogsetting(name)%> <%endif%>
Deprecated as of Nucleus v2.0. Use <%if(category)%> instead.
None
all
<%ifcat(Current Category: )%><%category%>
Inserts the selected image (for popup images)
Optional
|imgtag (default)|Full XHTML <img … />
tag|
url | Image file URL |
width | image width |
height | image height |
caption | image caption (text to go with image) |
imagepopup
<%image%>
This skinvar is deprecated since Nucleus v2.0. You should use <%image(caption)%> instead
Inserts the caption text for a popup image
None
imagepopup
<%imagetext%>
Shows the currently selected item (without comments) using a given template
item
<%item(mytemplate)%>
Inserts the ID of the currently selected item
None
item
<%itemid%>
Adds a permanent link for the item.
Optional
<a href…
tag will be outputted, rather than a raw linkitem
<%itemlink%>
Inserts the title of the item, with HTML-stripped off and entities encoded
None
item
<%itemtitle%>
Adds a loginform, or shows a “You are karma (Log out)” message
None
all
<%loginform%>
Inserts some info about on the currently logged in member. On member detail pages, extra options are available to show the same information for the requested member.
When the visitor is not logged in, the your… parameters will insert nothing
Information on the logged in member:
Information on the requested member (only available on member detail pages):
all
<%if(loggedin)%> you are <%member(yourrealname)%> <%endif%>
Shows a form through which a logged-in member can send a message to the member which details are being shown (on member detail pages)
Optional:
member
<%membermailform%>
Inserts the archive
attribute that corresponds to the archive of either 1 day or 1 month further in time. This value can be used inside URLs to select an archive.
YYYY-MM-DD
YYYY-MM
None
archive
<a href="index.php?archive=<%nextarchive%>>....
Inserts the ID of the next item in the blog
None
item
<%nextitem%>
Inserts the title of the next item in the blog
None
item
<%nextitemtitle%>
Inserts a link to the next item (on item pages) or to the next archive (on archive pages)
Optional
<a href…
tag will be outputted, rather than a raw linkitem, archive, search, index
<%nextlink%>
Inserts a nucleus button, with link to the Nucleus website.
Optional:
all
<%nucleusbutton%> <%nucleusbutton(nucleus/nucleus.gif,46,43)%>
Shows the archive for the selected month, using the given blog and template
Required
Optional
archive
<%otherarchive(myblog,mytemplate)%> <%otherarchive(myblog,mytemplate,mycategory)%>
The same as the otherarchivelist skinvar, but shows an entry for each day instead of for each month
Required
Optional
all
<%otherarchivedaylist(yourblog,mytemplate)%> <%otherarchivedaylist(yourblog,mytemplate,mycategory)%>
Shows the list of available archives for a given blog, using a given template
Required
Optional
all
<%otherarchivelist(yourblog,mytemplate)%> <%otherarchivelist(yourblog,mytemplate,mycategory)%>
Inserts the most recently added items of a given blog into the skin.
Required:
Optional:
10(5)
shows 10 items starting from item 5all
<%otherblog(myblog,default,15)%> <%otherblog(yourblog,mytemplate)%> <%otherblog(yourblog,mytemplate,15,mycategory)%> <%otherblog(yourblog,mytemplate,5(15),mycategory)%>
Shows the searchresult in a give blog for the current query, using the given template
Required:
Optional:
search
<%othersearchresults(myblog,mytemplate)%>
Inserts the archive
attribute that corresponds to the archive of either 1 day or 1 month back. This value can be used inside URLs to select an archive.
YYYY-MM-DD
YYYY-MM
None
archive
<a href="index.php?archive=<%prevarchive%>>....
Inserts an item-preview into the page, using a given template (to be used in conjunction with additemform)
index
<%preview(mytemplate)%>
Inserts the ID of the previous item in the blog
None
item
<%previtem%>
Inserts the title of the previous item in the blog
None
item
<%previtemtitle%>
Inserts a link to the previous item (on item pages) or to the previous archive (on archive pages). For search and index pages
Optional
<a href…
tag will be outputted, rather than a raw linkitem, archive, search, index
<%prevlink%>
Inserts the current search query.
None
search
<%query%>
Inserts the refering URL (can be empty)
None
all
<a href="<%referer%>">back</a>
Inserts the filename of the page currently being displayed (index.php or whatever you changed it to)
None
all
<%self%>
Shows a search form for the current blog.
Optional:
index, archive, archivelist, search, item
<%searchform%> <%searchform(otherweblog)%>
Shows the searchresult for the current query
Required:
Optional:
search
<%searchresults(mytemplate)%>
Includes a site variable
all
<%sitevar(name)%> <%sitevar(url)%> <a href="mailto:<%sitevar(email)%>">Admin</a>
Inserts a link to the main page of the weblog. Takes into account the currently selected blog and category.
Optional
<a href…
tag will be outputted, rather than a raw linkall
<%todaylink%>
This skinvar is deprecated since Nucleus v2.0. It's a small pain to insert this HTML yourself using the itemid skinvar
Inserts a hidden form-input field with the itemid.
<input type=“hidden” name=“itemid” value=“
1234
” />
None
item
Inserts the current Nucleus version.
None
all
<%version%>