Template:Object: Difference between revisions
Jump to navigation
Jump to search
(peer review line added) |
(noinclude text returned after an accidental remove) |
||
(22 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
[[Category:{{{category}}}]] | [[Category:{{{category}}}]] | ||
{| align="right" width="250pt" {{prettytable}} | {| class="wikitable collapsible collapsed" align="right" width="250pt" {{prettytable}} | ||
!<div style='text-align: left;'>This page is a {{#switch: {{{type}}} | |||
|variable = [[knowledge crystal]] of subtype | |||
|assessment = [[knowledge crystal]] of subtype | |||
|method = [[knowledge crystal]] of subtype | |||
|}} [[{{{type}}}]].<br>The page identifier is Op_en{{PAGEID}}</div> | |||
|---- | |---- | ||
| | |[[Moderator]]: {{#if: {{{moderator|}}} | [[category:Moderator:{{{moderator}}}]][[user:{{{moderator}}}|{{{moderator}}}]] [[moderators#{{{moderator}}}|(see all)]] | [[category:Moderator:Nobody]]Nobody [[moderators#Unmoderated pages|(see all)]]<br>[[Moderator#How to sign up|Click here to sign up.]] }} | ||
| | |||
|---- | |---- | ||
|{{#if: {{{respect|}}}|This page has been [[peer review]]ed. It has gained {{{respect}}} [[onor]]s. [[Talk:{{PAGENAME}}#Review|See review]].|}} | |||
{{#if: {{{stub|}}}|[[Category:Stub]]This page is a [[:Category:Stub|stub]]. You may improve it into a full page.|}}<br> | |||
{{#if:{{{reference|}}}|Citation of this page:<br>{{{reference}}}|}} | |||
|---- | |---- | ||
| | |{{uploadlink}}<br/>{{resultlink|{{#if: {{{upload|}}}|upload = {{{upload}}}|}} |base = {{#if: {{{base|}}}|{{{base}}}|Opasnet}} }} | ||
<noinclude> | <noinclude> | ||
|} | |||
NOTE! The Metadata box does NOT end in this template. The end mark <nowiki>|}</nowiki> must be placed into the template of the particular object type. | NOTE! The Metadata box does NOT end in this template. The end mark <nowiki>|}</nowiki> must be placed into the template of the particular object type. | ||
[[ | op_fi:objekti]] | ||
[[ | Category:Object type]] | ||
==Templates of the Object family== | |||
'''[[:Template:Object|Object]] | |||
This template contains the parts that are common to all object pages. This template is always called from another object-type template (see below). | |||
Parameters: | |||
* category: category of the object type. | |||
* type: object type (variable, assessment, study,...) | |||
* moderator: username of a person that looks after this page and tries to keep it tidy. Moderators should ''watch'' their pages. | |||
* respect: amount of [[onor]]s the page has received. This is typically based on a review. This is an alternative way to measure the goodness of a page to the [[rating bar]]. Too little experience exists to know what works and what doesn't. | |||
* stub: if this parameter has a value, the page is a stub, which means that the [[rating bar]] is not shown. | |||
'''[[:Template:Variable|Variable]] | |||
This is the most common object type. | |||
Parameters: | |||
* All parameters for [[:Template:Object]] are given through [[:Template:Variable]]. | |||
** category = Variables and type = variable. These are always the same. | |||
** moderator, respect, and stub are asked directly as parameters of [[:Template:Variable]]. | |||
* Parameters for [[:Template:Resultlink]] are given through [[:Template:Variable]]. (NOTE! These parameters are not actually functional yet): | |||
** upload: As a default, ''Show result'' shows the newest results uploaded. However, if the upload parameter is given, the upload with that particular act.series_id (see [[Opasnet base structure]] will always be shown even if newer results are uploaded. | |||
** base: As a default, result is stored to and retrieved from [[Opasnet Base]]. Using base parameter, another database may be defined. | |||
* reference: This parameter, if exists, contains the whole [[:Template:Publication]], within which are its own parameters. | |||
** authors: authors of this page. This is based on the history of the page, or on the Acknowledgements section on the talk page. | |||
** name: The name of the page where the template is used. This must be a parameter, because this template is used for a dpl summary functionality, and simply using <nowiki>{{PAGENAME}}</nowiki> would result in the page name of the output page, not the page where the template is used. | |||
** urn: unified resource name of this page, if any. You can obtain an urn from [http://www-2.kansalliskirjasto.fi/kkcgi/urn.cgi here]. | |||
** elsewhere: If the page has been published elsewhere, a reference for that. | |||
* 1: Due to compatibility reasons with old pages, if the first parameter given does not have a name, it is assumed that it is a name of a category. | |||
* addinfo: any content that you want to be shown up in the metadatabox under the rating bar. | |||
</noinclude> | </noinclude> |
Latest revision as of 16:59, 28 October 2018
[[Category:{{{category}}}]]
This page is a [[{{{type}}}]].
The page identifier is Op_en2682 |
---|
Moderator:Nobody (see all) Click here to sign up. |
|
Upload data
|
NOTE! The Metadata box does NOT end in this template. The end mark |} must be placed into the template of the particular object type. op_fi:objekti]] Category:Object type]]
Templates of the Object family
This template contains the parts that are common to all object pages. This template is always called from another object-type template (see below).
Parameters:
- category: category of the object type.
- type: object type (variable, assessment, study,...)
- moderator: username of a person that looks after this page and tries to keep it tidy. Moderators should watch their pages.
- respect: amount of onors the page has received. This is typically based on a review. This is an alternative way to measure the goodness of a page to the rating bar. Too little experience exists to know what works and what doesn't.
- stub: if this parameter has a value, the page is a stub, which means that the rating bar is not shown.
This is the most common object type.
Parameters:
- All parameters for Template:Object are given through Template:Variable.
- category = Variables and type = variable. These are always the same.
- moderator, respect, and stub are asked directly as parameters of Template:Variable.
- Parameters for Template:Resultlink are given through Template:Variable. (NOTE! These parameters are not actually functional yet):
- upload: As a default, Show result shows the newest results uploaded. However, if the upload parameter is given, the upload with that particular act.series_id (see Opasnet base structure will always be shown even if newer results are uploaded.
- base: As a default, result is stored to and retrieved from Opasnet Base. Using base parameter, another database may be defined.
- reference: This parameter, if exists, contains the whole Template:Publication, within which are its own parameters.
- authors: authors of this page. This is based on the history of the page, or on the Acknowledgements section on the talk page.
- name: The name of the page where the template is used. This must be a parameter, because this template is used for a dpl summary functionality, and simply using {{PAGENAME}} would result in the page name of the output page, not the page where the template is used.
- urn: unified resource name of this page, if any. You can obtain an urn from here.
- elsewhere: If the page has been published elsewhere, a reference for that.
- 1: Due to compatibility reasons with old pages, if the first parameter given does not have a name, it is assumed that it is a name of a category.
- addinfo: any content that you want to be shown up in the metadatabox under the rating bar.