Difference between revisions of "Template:Laurel"

From GodWiki
Jump to navigation Jump to search
(First draft)
 
m (the #switcher)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{#ifexpr: (({{#expr: {{#if:{{{hr|}}}|1|0}} + {{#if:{{{ar|}}}|1|0}} + {{#if:{{{zv|}}}|1|0}} + {{#if:{{{tr|}}}|1|0}} + {{#if:{{{cm|}}}|1|0}} }}) >= 4)
+
{{#switch: {{#expr: {{#if:{{{hr|}}}{{{temple|}}}|1|0}} + {{#if:{{{ar|}}}{{{ark|}}}|1|0}} + {{#if:{{{zv|}}}{{{breeder|}}}{{{animalist|}}}|1|0}} + {{#if:{{{tr|}}}{{{shop|}}}{{{trader|}}}{{{retired|}}}|1|0}} + {{#if:{{{cm|}}}{{{pairs|}}}{{{creatures|}}}|1|0}} + {{#if:{{{bk|}}}{{{bookmaker|}}}{{{book|}}}|1|0}} }}
|<span style="margin: 0;
+
| 4 | 5 | 6 = <span style="margin: 0;
 
     line-height: 1.5;
 
     line-height: 1.5;
     padding: 0px 2px 0px 2px;
+
     padding: 4px 3px 0px 3px;
 
     color: #AF5900;
 
     color: #AF5900;
 
     font-size: 12px;
 
     font-size: 12px;
Line 8: Line 8:
 
     display: inline-block;
 
     display: inline-block;
 
     width: auto;
 
     width: auto;
     font-family: 'Lucida Grande',Tahoma,Arial,Helvetica,sans-serif;" title="{{#if: {{{hr|}}} | 庙 - Temple Owner since {{{hr}}}}}{{#if: {{{ar|}}} |
+
     font-family: 'Lucida Grande',Tahoma,Arial,Helvetica,sans-serif;" title="{{#if: {{{hr|}}}{{{temple|}}} | 庙 - Temple Owner since {{{hr|}}}{{{temple|}}}}}{{#if: {{{ar|}}}{{{ark|}}} |
&#10;舟 - Ark Owner since {{{ar}}}}}{{#if: {{{zv|}}} |
+
&#10;舟 - Ark Owner since {{{ar|}}}{{{ark|}}}}}{{#if: {{{zv|}}}{{{breeder|}}}{{{animalist|}}} |
&#10;畜 - Animalist since {{{zv}}}}}{{#if: {{{tr|}}} |
+
&#10;畜 - Animalist since {{{zv|}}}{{{breeder|}}}{{{animalist|}}}}}{{#if: {{{tr|}}}{{{shop|}}}{{{trader|}}}{{{retired|}}} |
&#10;商 - Trader since {{{tr}}}}}{{#if: {{{cm|}}} |
+
&#10;商 - Trader since {{{tr|}}}{{{shop|}}}{{{trader|}}}{{{retired|}}}}}{{#if: {{{cm|}}}{{{pairs|}}}{{{creatures|}}} |
&#10;馴 - Creature Master since {{{cm}}}}}">[[Image:{{#expr: {{#if:{{{hr|}}}|1|0}} + {{#if:{{{ar|}}}|1|0}} + {{#if:{{{zv|}}}|1|0}} + {{#if:{{{tr|}}}|1|0}} + {{#if:{{{cm|}}}|1|0}} }}-laurel.png|x18px|text-top|link=]]</span>|<span style="white-space:nowrap; -moz-border-radius: 12px; -webkit-border-radius: 12px; -khtml-border-radius: 12px; border-radius: 12px; background-color: #FFFED0; border: 1px solid #DF9900; line-height: 1.5; margin: 3px 3px 3px 3px; padding: 2px 5px 2px 5px; color: #AF5900; font-size: 12px; font-weight: bold; width:30px; font-family:'Lucida Grande',Tahoma,Arial,Helvetica,sans-serif">{{#if: {{{hr|}}} | <span title="Temple Owner since {{{hr}}})">庙</span>}}{{#if: {{{ar|}}} | <span title="Ark Owner since {{{ar}}})">舟</span>}}{{#if: {{{zv|}}} | <span title="Animalist since {{{zv}}})">畜</span>}}{{#if: {{{tr|}}} | <span title="Trader since {{{tr}}})">商</span>}}{{#if: {{{cm|}}} | <span title="Creature Master since {{{cm}}})">馴</span>}}
+
&#10;馴 - Creature Master since {{{cm|}}}{{{pairs|}}}{{{creatures|}}}}}{{#if: {{{bk|}}}{{{bookmaker|}}}{{{book|}}} |
}}</span><noinclude>{{construction}}
+
&#10;书 - Bookmaker since {{{bk|}}}{{{bookmaker|}}}{{{book|}}}}}">[[File:{{#expr: {{#if:{{{hr|}}}{{{temple|}}}|1|0}} + {{#if:{{{ar|}}}{{{ark|}}}|1|0}} + {{#if:{{{zv|}}}{{{breeder|}}}{{{animalist|}}}|1|0}} + {{#if:{{{tr|}}}{{{shop|}}}{{{trader|}}}{{{retired|}}}|1|0}} + {{#if:{{{cm|}}}{{{pairs|}}}{{{creatures|}}}|1|0}} + {{#if:{{{bk|}}}{{{bookmaker|}}}{{{book|}}}|1|0}} }}-laurel.png|x20px|top|link=|alt={{#expr: {{#if:{{{hr|}}}{{{temple|}}}|1|0}} + {{#if:{{{ar|}}}{{{ark|}}}|1|0}} + {{#if:{{{zv|}}}{{{breeder|}}}{{{animalist|}}}|1|0}} + {{#if:{{{tr|}}}{{{shop|}}}{{{trader|}}}{{{retired|}}}|1|0}} + {{#if:{{{cm|}}}{{{pairs|}}}{{{creatures|}}}|1|0}} + {{#if:{{{bk|}}}{{{bookmaker|}}}{{{book|}}}|1|0}} }}-medal laurel]]</span>
<div style="background: #eeeeff;">Parameters:
+
| 1 | 2 | 3 = {{medal|hr={{{hr|}}}{{{temple|}}}|ar = {{{ar|}}}{{{ark|}}}|zv={{{zv|}}}{{{breeder|}}}{{{animalist|}}}|tr={{{tr|}}}{{{shop|}}}{{{trader|}}}{{{retired|}}}|cm={{{cm|}}}{{{pairs|}}}{{{creatures|}}}|bk={{{bk|}}}{{{bookmaker|}}}{{{book|}}}}}
 +
| #default =
 +
}}</span><noinclude>{{doc|content=
 +
Parameters:
  
* '''hr''' - Date and time of completion of construction of the temple  
+
* '''hr''' or '''temple''' — Date and time of completion of construction of the temple  
  
* '''zv''' - Date and time of becoming an animalist (also called breeder)
+
* '''zv''' or '''animalist''' or '''breeder''' — Date and time of becoming an animalist (also called breeder)
  
* '''ar''' - Date and time of completing the ark
+
* '''ar''' or '''ark''' — Date and time of completing the ark
  
* '''tr''' - Date and time of earning the trader medal by purchasing a shop
+
* '''tr''' or '''trader''' or '''shop''' or '''retired''' — Date and time of earning the trader medal by purchasing a shop
  
* '''cm''' - Date and time of earning the creature master medal
+
* '''cm''' or '''creatures''' or '''pairs''' — Date and time of earning the creature master medal
 +
 
 +
* '''bk''' or '''bookmaker''' or '''book''' — Date and time of earning the bookmaker medal
  
 
'''Examples of Usage:'''
 
'''Examples of Usage:'''
Line 36: Line 41:
 
[[God | GodName]] {{Laurel | tr = 2010.02.05 21:44 | hr = 2010.02.05 21:44 | zv = 2010.06.17 08:13 | cm = 2010.02.05 21:44}}
 
[[God | GodName]] {{Laurel | tr = 2010.02.05 21:44 | hr = 2010.02.05 21:44 | zv = 2010.06.17 08:13 | cm = 2010.02.05 21:44}}
  
[[God | GodName]] {{Laurel | cm = 2010.02.05 21:44 | zv = 2010.06.17 08:13 | hr = 2010.02.05 21:44 | tr = 2010.02.05 21:44 | ar = 2010.02.05 21:44 }}</nowiki>}}
+
[[God | GodName]] {{Laurel | cm = 2010.02.05 21:44 | zv = 2010.06.17 08:13 | hr = 2010.02.05 21:44 | tr = 2010.02.05 21:44 | ar = 2010.02.05 21:44 }}
 +
 
 +
[[God | GodName]] {{Laurel | cm = 2010.02.05 21:44 | zv = 2010.06.17 08:13 | hr = 2010.02.05 21:44 | tr = 2010.02.05 21:44 | ar = 2010.02.05 21:44 | bk = 2010.02.05 21:44 }}</nowiki>}}
  
 
'''Result in:'''
 
'''Result in:'''
Line 50: Line 57:
 
[[God | GodName]] {{Laurel | cm = 2010.02.05 21:44 | zv = 2010.06.17 08:13 | hr = 2010.02.05 21:44 | tr = 2010.02.05 21:44 | ar = 2010.02.05 21:44 }}
 
[[God | GodName]] {{Laurel | cm = 2010.02.05 21:44 | zv = 2010.06.17 08:13 | hr = 2010.02.05 21:44 | tr = 2010.02.05 21:44 | ar = 2010.02.05 21:44 }}
  
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. <span style="border: 1px solid #aaa; background: #fcfcf9; margin-right: .3em; padding: 1px;"><span style="white-space: nowrap">[[Image:godicon.png|God|link=http://godvillegame.com/gods/Godville]] '''[http://godvillegame.com/gods/Godville Godville]{{Laurel | cm = 2010.02.05 21:44 | zv = 2010.06.17 08:13 | hr = 2010.02.05 21:44 | tr = 2010.02.05 21:44 | ar = 2010.02.05 21:44 }}</span> Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
+
[[God | GodName]] {{Laurel | cm = 2010.02.05 21:44 | zv = 2010.06.17 08:13 | hr = 2010.02.05 21:44 | tr = 2010.02.05 21:44 | ar = 2010.02.05 21:44 | bk = 2010.02.05 21:44 }}
 
 
{{god}}<span style="border: 1px solid #aaa; background: #fcfcf9; margin-right: .3em; padding: 1px;"><span style="white-space: nowrap">[[Image:godicon.png|God|link=http://godvillegame.com/gods/Godville]] '''[http://godvillegame.com/gods/Godville Godville]{{Laurel | cm = 2010.02.05 21:44 | zv = 2010.06.17 08:13 | hr = 2010.02.05 21:44 | tr = 2010.02.05 21:44 | ar = 2010.02.05 21:44 }}</span><span style="border: 1px solid #aaa; background: #fcfcf9; margin-right: .3em; padding: 1px;"><span style="white-space: nowrap">[[Image:godicon.png|God|link=http://godvillegame.com/gods/Godville]] '''[http://godvillegame.com/gods/Godville Godville]{{Laurel | cm = 2010.02.05 21:44 | zv = 2010.06.17 08:13 | hr = 2010.02.05 21:44 }}</span>
 
 
 
{{god}}
 
 
 
<span style="border: 1px solid #aaa; background: #fcfcf9; margin-right: .3em; padding: 1px;"><span style="white-space: nowrap">[[Image:godicon.png|God|link=http://godvillegame.com/gods/Godville]] '''[http://godvillegame.com/gods/Godville Godville]{{Laurel | cm = 2010.02.05 21:44 | zv = 2010.06.17 08:13 | hr = 2010.02.05 21:44 | tr = 2010.02.05 21:44 | ar = 2010.02.05 21:44 }}</span>
 
  
<span style="border: 1px solid #aaa; background: #fcfcf9; margin-right: .3em; padding: 1px;"><span style="white-space: nowrap">[[Image:godicon.png|God|link=http://godvillegame.com/gods/Godville]] '''[http://godvillegame.com/gods/Godville Godville]{{Laurel | cm = 2010.02.05 21:44 | zv = 2010.06.17 08:13 | hr = 2010.02.05 21:44 }}</span>
+
<hr />
 +
{{tl|Usergod}} example:
 +
{{Usergod|nocat=yes
 +
|name=Example God {{Laurel | tr = 2010.02.05 21:44 | hr = 2010.02.05 21:44 | zv = 2010.06.17 08:13 | cm = 2010.02.05 21:44}}}}
  
</div></noinclude>
+
}}[[Category:Templates|{{PAGENAME}}]]
 +
</noinclude>

Latest revision as of 19:05, 2 September 2021

📚 Documentation

Parameters:

  • hr or temple — Date and time of completion of construction of the temple
  • zv or animalist or breeder — Date and time of becoming an animalist (also called breeder)
  • ar or ark — Date and time of completing the ark
  • tr or trader or shop or retired — Date and time of earning the trader medal by purchasing a shop
  • cm or creatures or pairs — Date and time of earning the creature master medal
  • bk or bookmaker or book — Date and time of earning the bookmaker medal

Examples of Usage:

[[God | GodName]] {{Laurel | hr = 2010.02.05 21:44}}

[[God | GodName]] {{Laurel | hr = 2010.02.05 21:44 | ar = 2010.06.17 08:13}}

[[God | GodName]] {{Laurel | ar = 2010.02.05 21:44 | hr = 2010.02.05 21:44 | zv = 2010.06.17 08:13}}

[[God | GodName]] {{Laurel | tr = 2010.02.05 21:44 | hr = 2010.02.05 21:44 | zv = 2010.06.17 08:13 | cm = 2010.02.05 21:44}}

[[God | GodName]] {{Laurel | cm = 2010.02.05 21:44 | zv = 2010.06.17 08:13 | hr = 2010.02.05 21:44 | tr = 2010.02.05 21:44 | ar = 2010.02.05 21:44 }}

[[God | GodName]] {{Laurel | cm = 2010.02.05 21:44 | zv = 2010.06.17 08:13 | hr = 2010.02.05 21:44 | tr = 2010.02.05 21:44 | ar = 2010.02.05 21:44 | bk = 2010.02.05 21:44 }}

Result in:

GodName

GodName

GodName

GodName 4-medal laurel

GodName 5-medal laurel

GodName 6-medal laurel


{{Usergod}} example:

Deities of Godville
Example God 4-medal laurel