Template talk:Bet

From Industrial-Craft-Wiki
Jump to: navigation, search

Why crate a Template to this?

I think it is not usefull...

ps.: I can crate a bet system...


Code to use the template:

{{Bet
|user1=Kiko5
|user2=Feanturi
|status= nacc
         // not accepted, nacc, n or 0
         // accepted, acc, a or 1
         // refused, declined, ref, dec, r, d or 2
         // won, w or 3
         // lost, l or 4
|bet=$20
|more=He need show me a better template of bet-system until the deadline.
|article= Template:bet
|start= not yet begun
|deadline= not yet begun
|time=24h
}}


What will show:

{{{user1}}} is in a bet with {{{user2}}}. [[{{{article}}}]]

Bet: {{{user2}}} have {{{time}}} to won {{{bet}}}.

More informations: {{{more}}}


Status: {{{status}}}  • Start: {{{start}}}  • End: {{{deadline}}}


How would be this example:

Kiko5 is in a bet with Feanturi. Template talk:Bet

Bet: Feanturi have 24h to won $20.

More informations: He need show me a better template of bet-system until the deadline.


Status: Not Accepted  • Start: not yet begun  • End: not yet begun


The code:

<div style='border:1px solid gray; background-color:lightgray; text-align:center;'>
'''[[user:{{{user1}}}|{{{user1}}}]] is in a bet with [[user:{{{user2}}}|{{{user2}}}]].'''
<span style='float:right;'> [[{{{article}}}]] </span>
</div>
<div style='border:1px solid gray; text-align:justfy;'>
'''Bet:''' ''{{{user2}}}'' have {{{time}}} to won {{{bet}}}.

'''More informations:''' ''{{{more}}}''
<hr>
'''Status:''' {{#switch: {{{status}}}
 | "not accepted" | "nacc" | "n" | "0" = Not Accepted
 | "accepted" | "acc" | "a" | "1" = Accepted
 | "refused" | "declined" | "ref" | "dec" | "r" | "d" | "2" = Refused
 | "won" | "w" | "3" = Won
 | "lost" | "l" | "4" = Lost
 | default Not Accepted
}} {{•}} '''Start:''' {{{start}}} {{•}} '''End:''' {{{deadline}}}
[[Category:Bet]]
</div>

--Kiko5 - Tanks for your attention. 20:09, 27 April 2011 (CEST)