Template:Variable: Difference between revisions

From Opasnet
Jump to navigation Jump to search
(added first version of peer rating for test usage)
mNo edit summary
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<css>
<css>
#bodyContent { background-color: #ECE8FF; }
#bodyContent { background-color: #ffffff; }
 
.firstHeading {
  background-color: #DCD8FF;
  background: linear-gradient(#DCD8FF, #F6F6FF) repeat scroll 0 0 transparent;
  border-radius: 6px 6px 6px 6px;
  font-size: 1.6em;
  line-height: 1.2em;
  margin-bottom: 0.1em;
  margin-top: 0;
  padding-bottom: 5px !important;
  padding-left: 10px !important;
  padding-top: 5px !important;
}
 
h2 {
  background-color: #DCD8FF;
  background: linear-gradient(#DCD8FF, #F6F6FF) repeat scroll 0 0 transparent;
  border-radius: 6px 6px 6px 6px;
  font-size: 1.6em;
  line-height: 1.2em;
  margin-bottom: 0.1em;
  margin-top: 1em;
  padding-bottom: 5px !important;
  padding-left: 10px !important;
  padding-top: 5px !important;
}
 
div#toctitle h2
{
background: transparent;
}
</css>
</css>
{{object
{{object
Line 6: Line 37:
|type      = variable
|type      = variable
|moderator = {{{moderator|}}}
|moderator = {{{moderator|}}}
|respect  = {{{respect|}}}
|stub      = {{{stub|}}}
|reference = {{{reference|}}}
|upload    = {{{upload|}}}
|base      = {{{base|}}}
}}
}}
|colspan="2"|{{resultlink|{{#if: {{{upload|}}}|upload = {{{upload}}}|}} |base = {{#if: {{{base|}}}|{{{base}}}|Opasnet}} }}
|-
|colspan="2"|'''Peer rating'''<br/><w4g_ratingbar style="stars"/>
|}
|}
[[category:{{{1|variables}}}]]
<noinclude>The variable is categorised into the category:Variables unless there is a first parameter that defines another category. This first parameter must by a subcategory for category Variables.


Usage of parameters (NOTE! These are not actually functional yet):  
<noinclude>
* Parameter upload defines the act.series_id (the upload) that will be used in resultlink; if omitted, the newest upload is used.
 
* Parameter base defines the database from which the data is downloaded; if omitted, [[Opasnet Base]] is used.
category:{{{1|variables}}}]]
 
For parameter descriptions, see [[:Template:Object]].
 
[[op_fi:template:muuttuja]] [[Category:Object type]]
[[op_fi:template:muuttuja]] [[Category:Object type]]
</noinclude>
</noinclude>

Latest revision as of 10:54, 5 August 2016


category:variables]]

For parameter descriptions, see Template:Object.