Badge time.png   The Paragon Wiki Archive documents the state of City of Heroes/Villains as it existed on December 1, 2012.

Difference between revisions of "User:Eabrace/TableHiddenText"

From Paragon Wiki Archive
Jump to: navigation, search
m (case 5 - hiding a table/case 6 - hiding an embedded table)
m (case 7 - forcing the hidden table within the HTML paragraph tags)
Line 245: Line 245:
 
{{!}}} }}
 
{{!}}} }}
 
|}
 
|}
 +
{{clr}}
 +
 +
== Case 7 ==
 +
Attempting to hide the table again, but this time placing an extra character above and below to force the entire table to be enclosed within the <nowiki><p></p></nowiki> tags that are rendered when the entire hidden template is parsed.
 +
 +
{{{!}}
 +
{{!}}-
 +
! {{!}}{{!}} Melee {{!}}{{!}} Ranged
 +
{{!}}-
 +
! [[Damage Scale]]
 +
{{!}} 1.000 {{!}}{{!}} 1.125
 +
{{!}}}
 +
 +
{{clr}}
 +
 +
{{hidden|header='''Modifiers (at level 50)'''
 +
|content=.
 +
{{{!}}
 +
{{!}}-
 +
! {{!}}{{!}} Melee {{!}}{{!}} Ranged
 +
{{!}}-
 +
! [[Damage Scale]]
 +
{{!}} 1.000 {{!}}{{!}} 1.125
 +
{{!}}}
 +
. }}
 +
 
{{clr}}
 
{{clr}}

Revision as of 23:57, 4 August 2009

A (hopefully) short little experiment in embedding the {{hidden}} template inside tables.

Case 1

A simple table with no hidden text

Blaster
Archetypeicon blaster.png
Primary Ranged
Secondary Support
Inherent Defiance
Base HP 1204.8
Max HP 1606.4
Modifiers (at level 50)
Melee Ranged
Damage Scale 1.000 1.125



Case 2

Hiding text inside a table row

Blaster
Archetypeicon blaster.png
Primary Ranged
Secondary Support
Inherent Defiance
Base HP 1204.8
Max HP 1606.4
Modifiers (at level 50)
Melee Ranged
Damage Scale 1.000 1.125



Case 3

Hiding text inside a table row

Blaster
Archetypeicon blaster.png
Primary Ranged
Secondary Support
Inherent Defiance
Base HP 1204.8
Max HP 1606.4
Modifiers (at level 50)
Melee Ranged
Damage Scale 1.000 1.125
This text should be hidden inside the table row.



Case 4

Similar to Case 1, but using embedded tables

Blaster
Archetypeicon blaster.png
Primary Ranged
Secondary Support
Inherent Defiance
Base HP 1204.8
Max HP 1606.4
Modifiers (at level 50)
Melee Ranged
Damage Scale 1.000 1.125



Case 5

Attempting to hide this table

Melee Ranged
Damage Scale 1.000 1.125





Case 6

Attempting to hide an embedded table

Blaster
Archetypeicon blaster.png
Primary Ranged
Secondary Support
Inherent Defiance
Base HP 1204.8
Max HP 1606.4