-The Dream Cancel Wiki has successfully upgraded it's wiki software and editing has returned. Tables for data have returned.
Template:StrengthsAndWeaknesses: Difference between revisions
Jump to navigation
Jump to search
Franck Frost (talk | contribs) No edit summary Tag: Reverted |
Franck Frost (talk | contribs) No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 5: | Line 5: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td style="background-color: rgb(54, 179, 126); color:white; width: 50%; font-size: 1.05rem;">'''Pros'''</td> | <td style="background-color: rgb(54, 179, 126); color:white; width: 50%; font-size: 1.05rem;">'''{{#if:{{{pick|}}}|Pick if you like|Pros}}'''</td> | ||
<td style="background-color: rgb(255, 93, 93); color:white; width: 50%; font-size: 1.05rem;">'''Cons'''</td> | <td style="background-color: rgb(255, 93, 93); color:white; width: 50%; font-size: 1.05rem;">'''{{#if:{{{pick|}}}|Avoid if you dislike|Cons}}'''</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 16: | Line 16: | ||
|{{#seo: | |{{#seo: | ||
|description={{#if:{{{intro|}}}|{{{intro}}}|{{{description|}}}}} | |description={{#if:{{{intro|}}}|{{{intro}}}|{{{description|}}}}} | ||
|image={{#invoke:Parser|imageTrim|{{#lst:{{FULLPAGENAME}}|image | |image={{#invoke:Parser|imageTrim|{{#lst:{{FULLPAGENAME}}|image}}|extension = {{{ext|}}}}} | ||
}}}}</includeonly><noinclude> | }}}}</includeonly><noinclude> | ||
===Usage=== | ===Usage=== | ||
Line 38: | Line 38: | ||
*Con 1 | *Con 1 | ||
*Con 2 | *Con 2 | ||
|seo=no | |||
}} | |||
<pre> | |||
{{StrengthsAndWeaknesses | |||
| intro = Duo Lon is an XYZ charcter who does QWE using ASDF. | |||
| pick = yes | |||
| pros = | |||
*Pick 1 | |||
*Pick 2 | |||
| cons = | |||
*Avoid 1 | |||
*Avoid 2 | |||
}} | |||
</pre> | |||
{{StrengthsAndWeaknesses | |||
| intro = Duo Lon is an XYZ charcter who does QWE using ASDF. | |||
| pick = yes | |||
| pros = | |||
*Pick 1 | |||
*Pick 2 | |||
| cons = | |||
*Avoid 1 | |||
*Avoid 2 | |||
|seo=no | |seo=no | ||
}} | }} |
Latest revision as of 18:38, 4 April 2023
Usage
{{StrengthsAndWeaknesses | intro = Duo Lon is an XYZ charcter who does QWE using ASDF. | pros = *Pro 1 *Pro 2 | cons = *Con 1 *Con 2 }}
Duo Lon is an XYZ charcter who does QWE using ASDF. | |
Pros | Cons |
|
|
{{StrengthsAndWeaknesses | intro = Duo Lon is an XYZ charcter who does QWE using ASDF. | pick = yes | pros = *Pick 1 *Pick 2 | cons = *Avoid 1 *Avoid 2 }}
Duo Lon is an XYZ charcter who does QWE using ASDF. | |
Pick if you like | Avoid if you dislike |
|
|
{{StrengthsAndWeaknesses | intro = Duo Lon is an XYZ charcter who does QWE using ASDF. | pros = *Pro 1 *Pro 2 | cons = *Con 1 *Con 2 |tablewidth=50 }}
Duo Lon is an XYZ charcter who does QWE using ASDF. | |
Pros | Cons |
|
|
Adjustements
This template was modified to provide description(defaulting to the intro) and image metadata to the page it is used on unless an "seo" parameter is defined to any value at all.
Additionally, if instead of an intro parameter a description one is given, the template will display the description as just plain full text without the pro/con table and the metadata description will default to it unless an intro parameter (now invisible) was still given.
Template:Character Label needs further work.