Description improved with lists

This commit is contained in:
Alexander Meindl 2016-04-23 14:19:42 +02:00
parent 43d1f9c098
commit 6ed50de09e

View File

@ -50,14 +50,14 @@ Restart Redmine and have a fun!
### User macro
{{user(1)}} := links to user profile
{{user(1, avatar=true)}} := links to user profile with avatar
{{user(admin)}} := links to user profile
{{user(admin, format=system)}} := links to user profile with user format from system settings
{{user(admin, format=username)}} := links to user profile with username as link text
{{user(admin, format=firstname)}} := links to user profile with firstname as link text
{{user(admin, format=lastname)}} := links to user profile with lastname as link text
{{user(admin, format=lastname, avatar=true)}} := links to user profile with lastname as link text and avatar
* {{user(1)}} := links to user profile
* {{user(1, avatar=true)}} := links to user profile with avatar
* {{user(admin)}} := links to user profile
* {{user(admin, format=system)}} := links to user profile with user format from system settings
* {{user(admin, format=username)}} := links to user profile with username as link text
* {{user(admin, format=firstname)}} := links to user profile with firstname as link text
* {{user(admin, format=lastname)}} := links to user profile with lastname as link text
* {{user(admin, format=lastname, avatar=true)}} := links to user profile with lastname as link text and avatar
You can use format with the same options as for system settings.
@ -68,13 +68,10 @@ Restart Redmine and have a fun!
#### Description
{{list_users}} := lists all users of the current users project
{{list_users(123)}} or {{list_users(identifier)}} or {{list_users(My project)}} := Lists all users of the project with project id 123 (or identifier or project name)
{{list_users(123, title=Manager)}} := Lists all users of the project with project id 123 and the role "Manager". If you want to use multiple roles as filters, you have to use a | as separator.
{{list_users(123, title=Manager, role=Manager only)}} := Lists all users of the project with project id 123 and the role "Manager" and adds the heading "Manager only"
* {{list_users}} := lists all users of the current users project
* {{list_users(123)}} or {{list_users(identifier)}} or {{list_users(My project)}} := Lists all users of the project with project id 123 (or identifier or project name)
* {{list_users(123, title=Manager)}} := Lists all users of the project with project id 123 and the role "Manager". If you want to use multiple roles as filters, you have to use a | as separator.
* {{list_users(123, title=Manager, role=Manager only)}} := Lists all users of the project with project id 123 and the role "Manager" and adds the heading "Manager only"
### Project list macros
@ -83,17 +80,16 @@ Lists projects of current user
#### Description
{{list_projects}} := lists all projects of current users
{{list_projects(title=My title)}} := lists all projects of current users and adds the heading "My title"
* {{list_projects}} := lists all projects of current users
* {{list_projects(title=My title)}} := lists all projects of current users and adds the heading "My title"
### Calendar macro
{{calendar}} := show calendar for current date
{{calendar(year=2014,month=6)}} := show calendar for Juni in year 2014
{{calendar(show_weeks=true)}} := show calendar with week numbers
{{calendar(select=2015-07-12 2015-07-31, show_weeks=true)}} := preselect dates and show week numbers
{{calendar(select=2016-03-13:2016-03-27)}} := preselect dates between 2016/3/13 and 2016/3/27
* {{calendar}} := show calendar for current date
* {{calendar(year=2014,month=6)}} := show calendar for Juni in year 2014
* {{calendar(show_weeks=true)}} := show calendar with week numbers
* {{calendar(select=2015-07-12 2015-07-31, show_weeks=true)}} := preselect dates and show week numbers
* {{calendar(select=2016-03-13:2016-03-27)}} := preselect dates between 2016/3/13 and 2016/3/27
### Wiki date macros
@ -102,23 +98,23 @@ Macro to get current date, year, month, day
#### Description
{{current_year}} := current year
{{current_month}} := current month
{{current_day}} := current day
{{current_hour}} := current hour
{{current_min}} := current minute
{{current_weekday}} := current weekday
{{current_weeknumber}} := current week number (The week starts with Monday)
* {{current_year}} := current year
* {{current_month}} := current month
* {{current_day}} := current day
* {{current_hour}} := current hour
* {{current_min}} := current minute
* {{current_weekday}} := current weekday
* {{current_weeknumber}} := current week number (The week starts with Monday)
### Garfield macro
{{garfield}} := show Garfield strip of the current day
{{garfield(2014-10-31)}} := show Garfield strip of 31/12/2014
* {{garfield}} := show Garfield strip of the current day
* {{garfield(2014-10-31)}} := show Garfield strip of 31/12/2014
### Gist macro
{{gist(6737338)}} := Show Github gist 6737338
{{gist(plentz/6737338)}} := Show Github gist 6737338
* {{gist(6737338)}} := Show Github gist 6737338
* {{gist(plentz/6737338)}} := Show Github gist 6737338
### Recently updated wiki pages
@ -136,15 +132,15 @@ Macro to get current date, year, month, day
### Youtube macro
{{youtube(wvsboPUjrGc)}} := youtube video with video wvsboPUjrGc (iframe) and default size 640x360
{{youtube(wvsboPUjrGc, width=853, height=480)}} := youtube video with size 853x480
{{youtube(wvsboPUjrGc, autoplay=1)}} := youtube video and autoplay
* {{youtube(wvsboPUjrGc)}} := youtube video with video wvsboPUjrGc (iframe) and default size 640x360
* {{youtube(wvsboPUjrGc, width=853, height=480)}} := youtube video with size 853x480
* {{youtube(wvsboPUjrGc, autoplay=1)}} := youtube video and autoplay
### Vimeo macro
{{vimeo(142849533)}} := vimeo video with video 142849533 (iframe) and default size 640x360
{{vimeo(142849533, width=853, height=480)}} := vimeo video with size 853x480
{{vimeo(142849533, autoplay=1)}} := vimeo video and autoplay
* {{vimeo(142849533)}} := vimeo video with video 142849533 (iframe) and default size 640x360
* {{vimeo(142849533, width=853, height=480)}} := vimeo video with size 853x480
* {{vimeo(142849533, autoplay=1)}} := vimeo video and autoplay
### Custom help URL