Site Notice |
---|
We have a limited coverage policy. Please check our coverage page to see which articles are allowed. |
Difference between revisions of "Template:Wiki Infobox/doc"
Jump to navigation
Jump to search
(→Purpose) |
m (→Parameters) |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 7: | Line 7: | ||
{{Wiki Infobox | {{Wiki Infobox | ||
| name = | | name = | ||
− | | colorscheme = | + | | colorscheme = |
− | | owner = | + | | owner = |
− | | url = | + | | financier = |
− | | since = | + | | leader = |
− | | content_pages = | + | | url = |
+ | | since = | ||
+ | | main = | ||
+ | | side = | ||
+ | | content_pages = | ||
| all_pages = | | all_pages = | ||
− | | files = | + | | files = |
− | | edits_since_beginning = | + | | edits_since_beginning = |
− | | avg_edit_per_page = | + | | avg_edit_per_page = |
− | | user_group_1_name = | + | | user_group_1_name = |
− | | user_group_1_details = | + | | user_group_1_details = |
− | | user_group_2_name = | + | | user_group_2_name = |
− | | user_group_2_details = | + | | user_group_2_details = |
− | | user_group_3_name = | + | | user_group_3_name = |
− | | user_group_3_details = | + | | user_group_3_details = |
− | | | + | | views_total = |
− | | | + | | views_per_edit = |
− | | | + | | group_1_title = |
− | | | + | | group_1_info = |
− | | | + | | group_2_title = |
− | | | + | | group_2_info = |
− | | | + | | group_3_title = |
− | | | + | | group_3_info = |
− | | | + | | no_groups = |
− | |||
}} | }} | ||
</pre> | </pre> | ||
Line 38: | Line 41: | ||
=== Parameters === | === Parameters === | ||
'''General Infomation''' | '''General Infomation''' | ||
− | * name - Name of the Wiki | + | * name - Name of the Wiki. It also adds the file <code>'''name of wiki''' logo.png</code> to the template. |
+ | ** size - If no size is given to <code>'''name of wiki''' logo.png</code>, it is set at 175 px. | ||
* colorscheme - [[NW:Color|Related]] [[:Category:Color templates|Color Scheme]] | * colorscheme - [[NW:Color|Related]] [[:Category:Color templates|Color Scheme]] | ||
'''Ownership''' | '''Ownership''' | ||
* owner - Name, and if avalible, NWiki profile, of Owner | * owner - Name, and if avalible, NWiki profile, of Owner | ||
+ | * leader - Who is the head editor, the editor-in-chief, etc. | ||
+ | * financier - Who pays the server bills? | ||
* url - domain (and subdomains, directories, etc) URL of the site. Please do not include any page titles, url parameters, etc. | * url - domain (and subdomains, directories, etc) URL of the site. Please do not include any page titles, url parameters, etc. | ||
* since - when was the wiki first available | * since - when was the wiki first available | ||
+ | |||
+ | '''Coverage''' | ||
+ | * main - What is the Wiki's series of focus? | ||
+ | * side - What other series does the wiki cover. | ||
+ | |||
'''Page statistics''' | '''Page statistics''' | ||
Line 59: | Line 70: | ||
* user_group_n_name - name of the group | * user_group_n_name - name of the group | ||
* user_group_n_details - # of users in the group | * user_group_n_details - # of users in the group | ||
+ | * no_users - to remove the user table entirely | ||
'''View statistics''' | '''View statistics''' | ||
Line 65: | Line 77: | ||
− | '''Also note''': it is useful to throw on the following template {{ | + | '''Groups''' |
− | <noinclude>[[Category:Documentation]]</noinclude> | + | Details on groups the wiki belongs to, has room up to 9 rows, represented by n. |
+ | * group_n_title - title of the group n | ||
+ | * group_n_info - details of membership in group n | ||
+ | * no_groups - to remove the group table entriely | ||
+ | '''Also note''': it is useful to throw on the following template {{tem|tt}} {{tt|*|to mark when the stat was updated}}. | ||
+ | <noinclude>[[Category:Documentation pages|{{PAGENAME}}]]</noinclude> |
Latest revision as of 16:24, 14 January 2013
Contents
Purpose
To give a information box for to be used on Wiki Related pages.
Usage
Example
{{Wiki Infobox | name = | colorscheme = | owner = | financier = | leader = | url = | since = | main = | side = | content_pages = | all_pages = | files = | edits_since_beginning = | avg_edit_per_page = | user_group_1_name = | user_group_1_details = | user_group_2_name = | user_group_2_details = | user_group_3_name = | user_group_3_details = | views_total = | views_per_edit = | group_1_title = | group_1_info = | group_2_title = | group_2_info = | group_3_title = | group_3_info = | no_groups = }}
Parameters
General Infomation
- name - Name of the Wiki. It also adds the file
name of wiki logo.png
to the template.- size - If no size is given to
name of wiki logo.png
, it is set at 175 px.
- size - If no size is given to
- colorscheme - Related Color Scheme
Ownership
- owner - Name, and if avalible, NWiki profile, of Owner
- leader - Who is the head editor, the editor-in-chief, etc.
- financier - Who pays the server bills?
- url - domain (and subdomains, directories, etc) URL of the site. Please do not include any page titles, url parameters, etc.
- since - when was the wiki first available
Coverage
- main - What is the Wiki's series of focus?
- side - What other series does the wiki cover.
Page statistics
- content_pages -
- all_pages -
- files -
Edit statistics
- edits_since_beginning -
- avg_edit_per_page -
User statistics Each wiki can have more than one group of user. Each available row (n) has two related parameters, one for each cell:
- user_group_n_name - name of the group
- user_group_n_details - # of users in the group
- no_users - to remove the user table entirely
View statistics
- views_total -
- views_per_edit -
Groups
Details on groups the wiki belongs to, has room up to 9 rows, represented by n.
- group_n_title - title of the group n
- group_n_info - details of membership in group n
- no_groups - to remove the group table entriely
Also note: it is useful to throw on the following template {{tt}}
*.