Difference between revisions of "Template:Daily tasks"

From eRepublik Official Wiki
Jump to: navigation, search
m (cat added, small corrections)
(usage added)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<center>
+
<includeonly><center>
 
{| style="text-align:center; border: 2px solid #C6E4F2;  font-size:85%; padding:0px; border-radius:5px;  -webkit-border-radius:5px; -moz-border-radius: 5px;"
 
{| style="text-align:center; border: 2px solid #C6E4F2;  font-size:85%; padding:0px; border-radius:5px;  -webkit-border-radius:5px; -moz-border-radius: 5px;"
 
|- style="background:#F1FAFF"
 
|- style="background:#F1FAFF"
Line 6: Line 6:
 
|
 
|
 
{{#tag: imagemap|
 
{{#tag: imagemap|
File:Daily tasks 0.png
+
File:Daily tasks {{{1|0}}}.png
 
poly 105 46 117 28 104 9 67 10 65 1 58 0 51 2 50 9 0 9 0 46 1 46 {{L|Work}}
 
poly 105 46 117 28 104 9 67 10 65 1 58 0 51 2 50 9 0 9 0 46 1 46 {{L|Work}}
 
poly 221 46 221 8 170 9 170 3 163 0 159 0 154 5 154 9 104 9 117 28 103 47 105 47 {{L|Train}}
 
poly 221 46 221 8 170 9 170 3 163 0 159 0 154 5 154 9 104 9 117 28 103 47 105 47 {{L|Train}}
Line 13: Line 13:
 
}}
 
}}
 
|}
 
|}
</center><noinclude>[[Category:Menu Templates|Daily tasks]]</noinclude>
+
</center></includeonly><noinclude>This is a template to be used on [[Daily tasks]], [[train]] and [[work]] page.
 +
There are two parameters you can change:
 +
# the image ('''0'''=[[:File:Daily tasks 0.png]]; '''1'''=[[:File:Daily tasks 1.png]] or '''2'''=[[:File:Daily tasks 2.png]])
 +
# the title for the daily tasks on the top if needed to be used on the translated articles.
 +
 
 +
==Example 1 - Work ==
 +
<pre>{{Daily tasks}} or {{Daily tasks|0}}</pre>
 +
{{Daily tasks}}
 +
 
 +
==Example 2 - Train ==
 +
<pre>{{Daily tasks|1}}</pre>
 +
{{Daily tasks|1}}
 +
 
 +
==Example 3 - Daily tasks ==
 +
<pre>{{Daily tasks|2}}</pre>
 +
{{Daily tasks|2}}
 +
 
 +
==Example 4 - Translated page ==
 +
<pre>{{Daily tasks|0|Dnevni zadaci}} or {{Daily tasks|2=Dnevni zadaci}}</pre>
 +
{{Daily tasks|0|Dnevni zadaci}}
 +
 
 +
==Example 5 - Translated page ver. 2 ==
 +
<pre>{{Daily tasks|1|Dnevni zadaci}} or {{Daily tasks|1=1|2=Dnevni zadaci}}</pre>
 +
{{Daily tasks|1=1|2=Dnevni zadaci}}
 +
 
 +
[[Category:Menu Templates|Daily tasks]]</noinclude>

Latest revision as of 16:06, 21 July 2022

This is a template to be used on Daily tasks, train and work page. There are two parameters you can change:

  1. the image (0=File:Daily tasks 0.png; 1=File:Daily tasks 1.png or 2=File:Daily tasks 2.png)
  2. the title for the daily tasks on the top if needed to be used on the translated articles.

Example 1 - Work

{{Daily tasks}} or {{Daily tasks|0}}
Daily tasks
WorkTrainGet rewardDaily tasks 0.png

Example 2 - Train

{{Daily tasks|1}}
Daily tasks
WorkTrainGet rewardDaily tasks 1.png

Example 3 - Daily tasks

{{Daily tasks|2}}
Daily tasks
WorkTrainGet rewardDaily tasks 2.png

Example 4 - Translated page

{{Daily tasks|0|Dnevni zadaci}} or {{Daily tasks|2=Dnevni zadaci}}
Dnevni zadaci
WorkTrainGet rewardDaily tasks 0.png

Example 5 - Translated page ver. 2

{{Daily tasks|1|Dnevni zadaci}} or {{Daily tasks|1=1|2=Dnevni zadaci}}
Dnevni zadaci
WorkTrainGet rewardDaily tasks 1.png