-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 |
Franck Frost (talk | contribs) No edit summary |
||
Line 13: | Line 13: | ||
<td style="width: 50%; text-align: left; padding: 6px; font-size: 14px;" valign="top"> | <td style="width: 50%; text-align: left; padding: 6px; font-size: 14px;" valign="top"> | ||
{{{cons|[ Info Needed ]}}}</td> | {{{cons|[ Info Needed ]}}}</td> | ||
</tr> | </tr></table>}}{{#if:{{{seo|}}}| | ||
</table>}}{{#if:{{{seo|}}}| | |||
|{{#seo: | |{{#seo: | ||
|description={{#if:{{{ | |description={{#if:{{{intro|}}}|{{{intro}}}|{{{description|}}}}} | ||
|image={{#invoke:Parser|imageTrim|{{:{{FULLPAGENAME}}}}}} | |image={{#invoke:Parser|imageTrim|{{:{{FULLPAGENAME}}}}}} | ||
}}}} | }}}}</includeonly><noinclude> | ||
</includeonly> | |||
<noinclude> | |||
===Usage=== | ===Usage=== | ||
<pre> | <pre> | ||
Line 47: | Line 43: | ||
<pre> | <pre> | ||
{{StrengthsAndWeaknesses | {{StrengthsAndWeaknesses | ||
| intro = | | intro = Duo Lon is an XYZ charcter who does QWE using ASDF. | ||
| pros = | | pros = | ||
*Pro 1 | *Pro 1 | ||
Line 58: | Line 54: | ||
</pre> | </pre> | ||
{{StrengthsAndWeaknesses | {{StrengthsAndWeaknesses | ||
| intro = | | intro = Duo Lon is an XYZ charcter who does QWE using ASDF. | ||
| pros = | | pros = | ||
*Pro 1 | *Pro 1 | ||
Line 68: | Line 64: | ||
|seo=no | |seo=no | ||
}} | }} | ||
==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.<br> | |||
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.<br> | |||
[[Template:Character Label]] needs further work. | |||
</noinclude> | </noinclude> |
Revision as of 17:44, 10 September 2022
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. | 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.