Difference between revisions of "Template:StrengthsAndWeaknesses"

From Dream Cancel Wiki
Jump to navigation Jump to search
Tag: Reverted
(Undo revision 57532 by Franck Frost (talk))
Tag: Undo
Line 16: Line 16:
|{{#seo:
|{{#seo:
|description={{#if:{{{intro|}}}|{{{intro}}}|{{{description|}}}}}
|description={{#if:{{{intro|}}}|{{{intro}}}|{{{description|}}}}}
|image={{#invoke:Parser|imageTrim|{{#lst:{{FULLPAGENAME}}|image}}|{{#if:{{{ext|}}}|extension = {{{ext|}}}}}}}
|image={{#invoke:Parser|imageTrim|{{#lst:{{FULLPAGENAME}}|image}}|extension = {{{ext|}}}}}
}}}}</includeonly><noinclude>
}}}}</includeonly><noinclude>
===Usage===
===Usage===

Revision as of 09:33, 3 October 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
  • Pro 1
  • Pro 2
  • Con 1
  • Con 2


{{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
  • Pro 1
  • Pro 2
  • Con 1
  • Con 2


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.