DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:var

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:var [2018-05-28 20:00] – [Installation] Klap-inplugin:var [2023-10-05 20:58] (current) – [Discussion] 212.159.116.80
Line 6: Line 6:
 email      : freaks@dokuwiki.org email      : freaks@dokuwiki.org
 type       : syntax type       : syntax
-lastupdate : 2017-06-11 +lastupdate : 2020-09-27 
-compatible : 2012-01-25 "Angua", 2011-05-25, 2011-05-25 "Rincewind", 2010-11-07 "Anteater", adora belle, Binky, Weatherwax, 2014-09-29 "Hrun", 2015-08-10, "Elenor of Tsort", "Frusterick Manners", "Greebo"+compatible : 2012-01-25 "Angua", 2011-05-25, 2011-05-25 "Rincewind", 2010-11-07 "Anteater", adora belle, Binky, Weatherwax, 2014-09-29 "Hrun", 2015-08-10, "Elenor of Tsort", "Frusterick Manners", "Greebo", "Hogfather", "Igor"
 depends    :  depends    : 
 conflicts  conflicts 
Line 27: Line 27:
 ^ @ID@      | full ID of the page                                                                                                                                      | ^ @ID@      | full ID of the page                                                                                                                                      |
 ^ @NS@      | namespace of the page                                                                                                                                    | ^ @NS@      | namespace of the page                                                                                                                                    |
 +^ @NSL@     | full external link to current namespace                                                                                                                                    |
 ^ @PAGE@    | page name (ID without namespace and underscores replaced by spaces)                                                                                      | ^ @PAGE@    | page name (ID without namespace and underscores replaced by spaces)                                                                                      |
 +^ @PAGEL@   | full external link to current page                                                                                      |
 ^ @USER@    | ID of current user                                                                                                                                       | ^ @USER@    | ID of current user                                                                                                                                       |
 ^ @NAME@    | full name of current user                                                                                                                                | ^ @NAME@    | full name of current user                                                                                                                                |
Line 34: Line 36:
 ^ @YEAR@    | current year in YYYY format                                                                                                                              | ^ @YEAR@    | current year in YYYY format                                                                                                                              |
 ^ @MONTH@   | current month in MM format                                                                                                                               | ^ @MONTH@   | current month in MM format                                                                                                                               |
 +^ @SMONTH@   | current month in M format (without leading zero)                                                                                                                               |
 ^ @DAY@     | current day in DD format                                                                                                                                 | ^ @DAY@     | current day in DD format                                                                                                                                 |
 +^ @SDAY@    | current day in D format (without leading zero)                                                                                                                                 |
 ^ @TITLE@   | first heading of the current page                                                                                                                        | ^ @TITLE@   | first heading of the current page                                                                                                                        |
 ^ @WIKI@    | title of the wikis as configured in [[config:title]]                                                                                                     | ^ @WIKI@    | title of the wikis as configured in [[config:title]]                                                                                                     |
Line 87: Line 91:
  
 > Done!  --- //[[chi@chimeric.de|Michael Klier]] 2009/03/25 11:40// > Done!  --- //[[chi@chimeric.de|Michael Klier]] 2009/03/25 11:40//
 +
 +Would it be possible to display the **groups** the current user belongs to with an @GROUPS@ tag? That would be really helpful as would an entry in the sidebar showing the current ACL conclusion of the permission level for the current user on the current (non-sidebar) page. E,g. None, read, edit, etc.
 +==== Use var in heading ====
 +Hi,
 +i want to show the Pagename in a Heading
 +Like this 
 +''====== @PAGE@ ======''
 +Sadly in the header it do not work.
 +As normal Text it's working.
 +
 +Any ideas where i can do this?  --- [[user>cowa|cowa]] //2020-12-09 16:06//
 +
 +==== Editor details ====
 +Is there a way to include the last edit user and date and other page meta data so that I can include information such as
 +
 +  This page created by @pageCreator@ was last reviewed by @LastEditor@ who made an edit on @LastEditDate@
 +
 +in the page when it exported/printed??
plugin/var.1527530434.txt.gz · Last modified: 2018-05-28 20:00 by Klap-in

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki