Template talk:Attributes

From GuildWiki

Jump to: navigation, search
test

[edit] Usage examples

NecromancerMonkNecromancer / Monk Attribute Rank
Blood Magic 10 + 1
Death Magic 12 + 1 + 3
Healing Prayers 8
{{attributes | N | Mo
  | Blood Magic     | 10 + 1
  | Death Magic     | 12 + 1 + 3
  | Healing Prayers | 8
  }}
NecromancerNecromancer / Any Attribute Rank
Blood Magic 12 + 1 + 3
{{attributes | N | Any
  | Blood Magic | 12 + 1 + 3
  }}
NecromancerAny / Necromancer Attribute Rank
Blood Magic 12
{{attributes | Any | N
  | Blood Magic | 12
  }}
NecromancerMonkNecromancer / Monk Attribute Rank
Blood Magic 10 + 1
Death Magic 12 + 1 + 3
Healing Prayers 8
Protection Prayers 3
Smiting Prayers 0
{{attributes | N | Mo
  | Blood Magic        | 10 + 1
  | Death Magic        | 12 + 1 + 3
  | Healing Prayers    | 8
  | Protection Prayers | 3
  | Smiting Prayers    | 0
  }}

[edit] Argument for {{clear}}

Image:Overlapping.jpg

Hehe. However I moved the template to TOCright as it is only pages with that and attributes whichcause problems Skuld Monk 01:09, 7 May 2006 (CDT)

I think this should be fixed by tweaking TOCright. This is leaving huge ugly white space everywhere. Buy a bigger screen, mate. F G 04:18, 7 May 2006 (CDT)

[edit] Table

Tables

Currently wiki pipe table syntax doesn't work inside conditionals, there are two main workarounds.
   * Hide the pipe from parser functions by putting it in a template, e.g. Template:! (talk, backlinks, edit) as on w:en:.
   * Use html style table syntax instead.
   * See also Help:Table, completely empty rows or columns are not displayed. Empty cells could be also transformed into dummy                              cells on pages not affected by 5569.
Note that "|" and "=" were always tricky within templates, this is no new issue.
If all else fails, try setting $wgUseTidy=true; in your LocalSettings.php.

Is it because of that? ParserFunctions -- Image:Ritualist-icon-small.png Cwingnam2000 19:30, 9 September 2006 (CDT)

I knoestly don't see why it does it. It was working for a short time before. I have no clue why it suddenly stopped when I removed all the white space! -- Image:Vulpes_Foxnik.pngUser:Vulpes Foxnik 19:21, 9 September 2006 (CDT)
I fixed it. Any builds that look messed up may need to be manually purged from the cache. --Fyren 19:57, 9 September 2006 (CDT)
This doesn't make a lick of sense. We are using the HTML format for rows and colomns. Your Templating trick seemed to work. I was about to see if putting nowiki tags around the assignment tags would help. I think I've cause enough damage for one day....I am so sorry I touched it.--Image:Vulpes_Foxnik.pngVulpes Foxnik 20:02, 9 September 2006 (CDT)
It's okay, even if I seem to be yelling at you a lot. You can't really do permanent damage to a wiki. The problem with your original version was whitespace, but knowing where it's needed and where it's not (and where it breaks things) can be difficult to understand. My comment on your talk page wasn't that all whitespace is bad, just that it can be, so don't throw it around without testing first. I figured since I was mostly rewriting this anyway, I should switch it to wiki syntax from HTML and factor out the switches to other templates that might be useful elsewhere. --Fyren 20:05, 9 September 2006 (CDT)
Hmm so the pipe thinggie is actually | <- this? and what you do is just use the pipe instead of |?? and what is 2pipe? -- Image:Ritualist-icon-small.png Cwingnam2000 20:08, 9 September 2006 (CDT)
See Template:Pipe and Template:2pipe. We already have a template named ! (Template:!), which is what it's called on WP (wikipedia:template:!, wikipedia:template:!!). --Fyren 20:11, 9 September 2006 (CDT)
Personal tools
Sponsors