Difference between revisions of "Template:Wordle"
Coppersalts (talk | contribs) |
|||
(13 intermediate revisions by one other user not shown) | |||
Line 22: | Line 22: | ||
margin:0px; | margin:0px; | ||
} | } | ||
− | }} | + | }}<table class="wordle-table" cellspacing="5"> |
− | <table class="wordle-table" cellspacing="5"> | ||
<tr> | <tr> | ||
− | <td class={{#ifeq:{{{C11}}}|G|"wordle-letter-green"|{{#ifeq:{{{C11}}}|Y|"wordle-letter-yellow"|{{# | + | <td class={{#ifeq:{{{C11}}}|G|"wordle-letter-green"|{{#ifeq:{{{C11}}}|Y|"wordle-letter-yellow"|{{#if:{{{C11|}}}|"wordle-letter-grey"|"wordle-letter-unfilled"}}}}}}>{{#if:{{{L11|}}}|{{{L11}}}|}}</td> |
− | <td class={{#ifeq:{{{C12}}}|G|"wordle-letter-green"|{{#ifeq:{{{C12}}}|Y|"wordle-letter-yellow"|{{# | + | <td class={{#ifeq:{{{C12}}}|G|"wordle-letter-green"|{{#ifeq:{{{C12}}}|Y|"wordle-letter-yellow"|{{#if:{{{C12|}}}|"wordle-letter-grey"|"wordle-letter-unfilled"}}}}}}>{{#if:{{{L12|}}}|{{{L12}}}|}}</td> |
− | <td class={{#ifeq:{{{C13}}}|G|"wordle-letter-green"|{{#ifeq:{{{C13}}}|Y|"wordle-letter-yellow"|{{# | + | <td class={{#ifeq:{{{C13}}}|G|"wordle-letter-green"|{{#ifeq:{{{C13}}}|Y|"wordle-letter-yellow"|{{#if:{{{C13|}}}|"wordle-letter-grey"|"wordle-letter-unfilled"}}}}}}>{{#if:{{{L13|}}}|{{{L13}}}|}}</td> |
− | <td class={{#ifeq:{{{C14}}}|G|"wordle-letter-green"|{{#ifeq:{{{C14}}}|Y|"wordle-letter-yellow"|{{# | + | <td class={{#ifeq:{{{C14}}}|G|"wordle-letter-green"|{{#ifeq:{{{C14}}}|Y|"wordle-letter-yellow"|{{#if:{{{C14|}}}|"wordle-letter-grey"|"wordle-letter-unfilled"}}}}}}>{{#if:{{{L14|}}}|{{{L14}}}|}}</td> |
− | <td class={{#ifeq:{{{C15}}}|G|"wordle-letter-green"|{{#ifeq:{{{C15}}}|Y|"wordle-letter-yellow"|{{#ifeq:{{{ | + | <td class={{#ifeq:{{{C15}}}|G|"wordle-letter-green"|{{#ifeq:{{{C15}}}|Y|"wordle-letter-yellow"|{{#if:{{{C15|}}}|"wordle-letter-grey"|"wordle-letter-unfilled"}}}}}}>{{#if:{{{L15|}}}|{{{L15}}}|}}</td> |
+ | </tr> | ||
+ | <tr> | ||
+ | <td class={{#ifeq:{{{C21}}}|G|"wordle-letter-green"|{{#ifeq:{{{C21}}}|Y|"wordle-letter-yellow"|{{#if:{{{C21|}}}|"wordle-letter-grey"|"wordle-letter-unfilled"}}}}}}>{{#if:{{{L21|}}}|{{{L21}}}|}}</td> | ||
+ | <td class={{#ifeq:{{{C22}}}|G|"wordle-letter-green"|{{#ifeq:{{{C22}}}|Y|"wordle-letter-yellow"|{{#if:{{{C22|}}}|"wordle-letter-grey"|"wordle-letter-unfilled"}}}}}}>{{#if:{{{L22|}}}|{{{L22}}}|}}</td> | ||
+ | <td class={{#ifeq:{{{C23}}}|G|"wordle-letter-green"|{{#ifeq:{{{C23}}}|Y|"wordle-letter-yellow"|{{#if:{{{C23|}}}|"wordle-letter-grey"|"wordle-letter-unfilled"}}}}}}>{{#if:{{{L23|}}}|{{{L23}}}|}}</td> | ||
+ | <td class={{#ifeq:{{{C24}}}|G|"wordle-letter-green"|{{#ifeq:{{{C24}}}|Y|"wordle-letter-yellow"|{{#if:{{{C24|}}}|"wordle-letter-grey"|"wordle-letter-unfilled"}}}}}}>{{#if:{{{L24|}}}|{{{L24}}}|}}</td> | ||
+ | <td class={{#ifeq:{{{C25}}}|G|"wordle-letter-green"|{{#ifeq:{{{C25}}}|Y|"wordle-letter-yellow"|{{#if:{{{C25|}}}|"wordle-letter-grey"|"wordle-letter-unfilled"}}}}}}>{{#if:{{{L25|}}}|{{{L25}}}|}}</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td class={{#ifeq:{{{C31}}}|G|"wordle-letter-green"|{{#ifeq:{{{C31}}}|Y|"wordle-letter-yellow"|{{#if:{{{C31|}}}|"wordle-letter-grey"|"wordle-letter-unfilled"}}}}}}>{{#if:{{{L31|}}}|{{{L31}}}|}}</td> | ||
+ | <td class={{#ifeq:{{{C32}}}|G|"wordle-letter-green"|{{#ifeq:{{{C32}}}|Y|"wordle-letter-yellow"|{{#if:{{{C32|}}}|"wordle-letter-grey"|"wordle-letter-unfilled"}}}}}}>{{#if:{{{L32|}}}|{{{L32}}}|}}</td> | ||
+ | <td class={{#ifeq:{{{C33}}}|G|"wordle-letter-green"|{{#ifeq:{{{C33}}}|Y|"wordle-letter-yellow"|{{#if:{{{C33|}}}|"wordle-letter-grey"|"wordle-letter-unfilled"}}}}}}>{{#if:{{{L33|}}}|{{{L33}}}|}}</td> | ||
+ | <td class={{#ifeq:{{{C34}}}|G|"wordle-letter-green"|{{#ifeq:{{{C34}}}|Y|"wordle-letter-yellow"|{{#if:{{{C34|}}}|"wordle-letter-grey"|"wordle-letter-unfilled"}}}}}}>{{#if:{{{L34|}}}|{{{L34}}}|}}</td> | ||
+ | <td class={{#ifeq:{{{C35}}}|G|"wordle-letter-green"|{{#ifeq:{{{C35}}}|Y|"wordle-letter-yellow"|{{#if:{{{C35|}}}|"wordle-letter-grey"|"wordle-letter-unfilled"}}}}}}>{{#if:{{{L35|}}}|{{{L35}}}|}}</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td class={{#ifeq:{{{C41}}}|G|"wordle-letter-green"|{{#ifeq:{{{C41}}}|Y|"wordle-letter-yellow"|{{#if:{{{C41|}}}|"wordle-letter-grey"|"wordle-letter-unfilled"}}}}}}>{{#if:{{{L41|}}}|{{{L41}}}|}}</td> | ||
+ | <td class={{#ifeq:{{{C42}}}|G|"wordle-letter-green"|{{#ifeq:{{{C42}}}|Y|"wordle-letter-yellow"|{{#if:{{{C42|}}}|"wordle-letter-grey"|"wordle-letter-unfilled"}}}}}}>{{#if:{{{L42|}}}|{{{L42}}}|}}</td> | ||
+ | <td class={{#ifeq:{{{C43}}}|G|"wordle-letter-green"|{{#ifeq:{{{C43}}}|Y|"wordle-letter-yellow"|{{#if:{{{C43|}}}|"wordle-letter-grey"|"wordle-letter-unfilled"}}}}}}>{{#if:{{{L43|}}}|{{{L43}}}|}}</td> | ||
+ | <td class={{#ifeq:{{{C44}}}|G|"wordle-letter-green"|{{#ifeq:{{{C44}}}|Y|"wordle-letter-yellow"|{{#if:{{{C44|}}}|"wordle-letter-grey"|"wordle-letter-unfilled"}}}}}}>{{#if:{{{L44|}}}|{{{L44}}}|}}</td> | ||
+ | <td class={{#ifeq:{{{C45}}}|G|"wordle-letter-green"|{{#ifeq:{{{C45}}}|Y|"wordle-letter-yellow"|{{#if:{{{C45|}}}|"wordle-letter-grey"|"wordle-letter-unfilled"}}}}}}>{{#if:{{{L45|}}}|{{{L45}}}|}}</td> | ||
+ | </tr> | ||
<tr> | <tr> | ||
− | <td class="wordle-letter-unfilled"> | + | <td class={{#ifeq:{{{C51}}}|G|"wordle-letter-green"|{{#ifeq:{{{C51}}}|Y|"wordle-letter-yellow"|{{#if:{{{C51|}}}|"wordle-letter-grey"|"wordle-letter-unfilled"}}}}}}>{{#if:{{{L51|}}}|{{{L51}}}|}}</td> |
− | G | + | <td class={{#ifeq:{{{C52}}}|G|"wordle-letter-green"|{{#ifeq:{{{C52}}}|Y|"wordle-letter-yellow"|{{#if:{{{C52|}}}|"wordle-letter-grey"|"wordle-letter-unfilled"}}}}}}>{{#if:{{{L52|}}}|{{{L52}}}|}}</td> |
− | </td> | + | <td class={{#ifeq:{{{C53}}}|G|"wordle-letter-green"|{{#ifeq:{{{C53}}}|Y|"wordle-letter-yellow"|{{#if:{{{C53|}}}|"wordle-letter-grey"|"wordle-letter-unfilled"}}}}}}>{{#if:{{{L53|}}}|{{{L53}}}|}}</td> |
− | <td class="wordle-letter-unfilled"> | + | <td class={{#ifeq:{{{C54}}}|G|"wordle-letter-green"|{{#ifeq:{{{C54}}}|Y|"wordle-letter-yellow"|{{#if:{{{C54|}}}|"wordle-letter-grey"|"wordle-letter-unfilled"}}}}}}>{{#if:{{{L54|}}}|{{{L54}}}|}}</td> |
− | + | <td class={{#ifeq:{{{C55}}}|G|"wordle-letter-green"|{{#ifeq:{{{C55}}}|Y|"wordle-letter-yellow"|{{#if:{{{C55|}}}|"wordle-letter-grey"|"wordle-letter-unfilled"}}}}}}>{{#if:{{{L55|}}}|{{{L55}}}|}}</td> | |
− | </td> | + | </tr> |
− | <td class="wordle-letter-unfilled"> | + | <tr> |
− | + | <td class={{#ifeq:{{{C61}}}|G|"wordle-letter-green"|{{#ifeq:{{{C61}}}|Y|"wordle-letter-yellow"|{{#if:{{{C61|}}}|"wordle-letter-grey"|"wordle-letter-unfilled"}}}}}}>{{#if:{{{L61|}}}|{{{L61}}}|}}</td> | |
− | </td> | + | <td class={{#ifeq:{{{C62}}}|G|"wordle-letter-green"|{{#ifeq:{{{C62}}}|Y|"wordle-letter-yellow"|{{#if:{{{C62|}}}|"wordle-letter-grey"|"wordle-letter-unfilled"}}}}}}>{{#if:{{{L62|}}}|{{{L62}}}|}}</td> |
− | <td class="wordle-letter-unfilled"> | + | <td class={{#ifeq:{{{C63}}}|G|"wordle-letter-green"|{{#ifeq:{{{C63}}}|Y|"wordle-letter-yellow"|{{#if:{{{C63|}}}|"wordle-letter-grey"|"wordle-letter-unfilled"}}}}}}>{{#if:{{{L63|}}}|{{{L63}}}|}}</td> |
− | + | <td class={{#ifeq:{{{C64}}}|G|"wordle-letter-green"|{{#ifeq:{{{C64}}}|Y|"wordle-letter-yellow"|{{#if:{{{C64|}}}|"wordle-letter-grey"|"wordle-letter-unfilled"}}}}}}>{{#if:{{{L64|}}}|{{{L64}}}|}}</td> | |
− | </td> | + | <td class={{#ifeq:{{{C65}}}|G|"wordle-letter-green"|{{#ifeq:{{{C65}}}|Y|"wordle-letter-yellow"|{{#if:{{{C65|}}}|"wordle-letter-grey"|"wordle-letter-unfilled"}}}}}}>{{#if:{{{L65|}}}|{{{L65}}}|}}</td> |
− | <td class="wordle-letter-unfilled"> | ||
− | |||
− | </td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
− | |||
− | |||
<noinclude> | <noinclude> | ||
+ | Color codes: | ||
+ | G = [[green]]. | ||
+ | Y = [[yellow]]. | ||
+ | anything else = [[gray]], but I normally use A.<ref>[[Gay]]...?</ref> | ||
<templatedata> | <templatedata> | ||
{ | { |
Latest revision as of 15:55, 19 November 2022
Color codes:
G = green.
Y = yellow.
anything else = gray, but I normally use A.[1]
Wordle template for playing wordle.
Parameter | Description | Type | Status | |
---|---|---|---|---|
L11 | L11 | The first letter of the first word | String | optional |
L12 | L12 | The second letter of the first word | String | optional |
L13 | L13 | The third letter of the first word | String | optional |
L14 | L14 | The fourth letter of the first word | String | optional |
L15 | L15 | The fifth letter of the first word | String | optional |
C11 | C11 | The color of the first letter of the first word | String | optional |
C12 | C12 | The color of the second letter of the first word | String | optional |
C13 | C13 | The color of the third letter of the first word | String | optional |
C14 | C14 | The color of the fourth letter of the first word | String | optional |
C15 | C15 | The color of the fifth letter of the first word | String | optional |
L21 | L21 | The first letter of the second word | String | optional |
L22 | L22 | The second letter of the second word | String | optional |
L23 | L23 | The third letter of the second word | String | optional |
L24 | L24 | The fourth letter of the second word | String | optional |
L25 | L25 | The fifth letter of the second word | String | optional |
C21 | C21 | The color of the first letter of the second word | String | optional |
C22 | C22 | The color of the second letter of the second word | String | optional |
C23 | C23 | The color of the third letter of the second word | String | optional |
C24 | C24 | The color of the fourth letter of the second word | String | optional |
C25 | C25 | The color of the fifth letter of the second word | String | optional |
L31 | L31 | The first letter of the third word | String | optional |
L32 | L32 | The second letter of the third word | String | optional |
L33 | L33 | The third letter of the third word | String | optional |
L34 | L34 | The fourth letter of the third word | String | optional |
L35 | L35 | The fifth letter of the third word | String | optional |
C31 | C31 | The color of the first letter of the third word | String | optional |
C32 | C32 | The color of the second letter of the third word | String | optional |
C33 | C33 | The color of the third letter of the third word | String | optional |
C34 | C34 | The color of the fourth letter of the third word | String | optional |
C35 | C35 | The color of the fifth letter of the third word | String | optional |
L41 | L41 | The first letter of the fourth word | String | optional |
L42 | L42 | The second letter of the fourth word | String | optional |
L43 | L43 | The third letter of the fourth word | String | optional |
L44 | L44 | The fourth letter of the fourth word | String | optional |
L45 | L45 | The fifth letter of the fourth word | String | optional |
C41 | C41 | The color of the first letter of the fourth word | String | optional |
C42 | C42 | The color of the second letter of the fourth word | String | optional |
C43 | C43 | The color of the third letter of the fourth word | String | optional |
C44 | C44 | The color of the fourth letter of the fourth word | String | optional |
C45 | C45 | The color of the fifth letter of the fourth word | String | optional |
L51 | L51 | The first letter of the fifth word | String | optional |
L52 | L52 | The second letter of the fifth word | String | optional |
L53 | L53 | The third letter of the fifth word | String | optional |
L54 | L54 | The fourth letter of the fifth word | String | optional |
L55 | L55 | The fifth letter of the fifth word | String | optional |
C51 | C51 | The color of the first letter of the fifth word | String | optional |
C52 | C52 | The color of the second letter of the fifth word | String | optional |
C53 | C53 | The color of the third letter of the fifth word | String | optional |
C54 | C54 | The color of the fourth letter of the fifth word | String | optional |
C55 | C55 | The color of the fifth letter of the fifth word | String | optional |
L61 | L61 | The first letter of the sixth word | String | optional |
L62 | L62 | The second letter of the sixth word | String | optional |
L63 | L63 | The third letter of the sixth word | String | optional |
L64 | L64 | The fourth letter of the sixth word | String | optional |
L65 | L65 | The fifth letter of the sixth word | String | optional |
C61 | C61 | The color of the first letter of the sixth word | String | optional |
C62 | C62 | The color of the second letter of the sixth word | String | optional |
C63 | C63 | The color of the third letter of the sixth word | String | optional |
C64 | C64 | The color of the fourth letter of the sixth word | String | optional |
C65 | C65 | The color of the fifth letter of the sixth word | String | optional |