Difference between revisions of "Template:Judge-str"
From Discworld MUD Wiki
(this fails) |
(Go back to the neater implementation, problem is probably that the wiki need to reprocess the template's result need to recall how to do that) |
||
Line 1: | Line 1: | ||
− | + | {{!}}Judge-overall-{{{1|?}}}={{{2|?}}}<nowiki> | |
− | + | </nowiki>{{!}}Judge-attack-{{{1|?}}}={{{3|?}}}<nowiki> | |
− | + | </nowiki>{{!}}Judge-parry-{{{1|?}}}={{{4|?}}} | |
− | {{!}} Judge- | + | <noinclude><br style="clear:both;" /> |
− | + | ||
− | {{!}} Judge- | + | |
− | + | ||
− | + | ||
− | + | ||
{{documentation}}</noinclude> | {{documentation}}</noinclude> |
Revision as of 16:04, 25 May 2011
|Judge-overall-?=?
|Judge-attack-?=?
|Judge-parry-?=?
[edit]
DocumentationShortcut to enter in the {{Infobox weapon}} all the judges for a given strength value with less typing.
- Parameters
- 1st: The number of your strength you had when judging the weapon, like "13" if you didn't rearrange and do not have stat effects.
- 2nd: The string or number for the overall judge.
- 3rd: The string or number for the ease of attack judge.
- 4th: The string or number for the ease of parry judge.
You can the put it inside an infobox by using subst to make it show properly, like this:
{{subst:Judge-str|9|10|10|11}}
Once you save it the wiki automagically changes it so that it looks like the equivalent long form, this was the only thing that made this template work.
- Examples
Judge-str | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Weapon information | |||||||||||
Precise dimensions | No information | ||||||||||
Material | No information | ||||||||||
Weight | 3 3/9 lb | ||||||||||
Thaums/sec | ? stable / ? talisman / ? max | ||||||||||
Hands | 2 | ||||||||||
Commands | Pierce, Slice, Impale, Behead, Iai | ||||||||||
Melee type | None | ||||||||||
Judge data | |||||||||||
Speed | 6 Quick | ||||||||||
Maximum damage | 8 Quite high | ||||||||||
Average damage | 3 Rather low | ||||||||||
| |||||||||||
| |||||||||||
Instead of typing the following with the result to the right:
{{Infobox weapon | Weight = 3 3/9 lb | Commands = [[Pierce]], [[Slice (command)|Slice]], [[Impale]], [[Behead]], [[Iai]] | Hands = 2 | Type = None | Judge-overall-23 = 11 | Judge-attack-23 = 10 | Judge-parry-23 = 12 | Judge-speed = Quick | Judge-max = Quite high | Judge-ave = Rather low }}
Judge-str | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Weapon information | |||||||||||
Precise dimensions | No information | ||||||||||
Material | No information | ||||||||||
Weight | 3 3/9 lb | ||||||||||
Thaums/sec | ? stable / ? talisman / ? max | ||||||||||
Hands | 2 | ||||||||||
Commands | Pierce, Slice, Impale, Behead, Iai | ||||||||||
Melee type | None | ||||||||||
Judge data | |||||||||||
Speed | 6 Quick | ||||||||||
Maximum damage | 8 Quite high | ||||||||||
Average damage | 3 Rather low | ||||||||||
| |||||||||||
| |||||||||||
You can type this with the same result on your right:
{{Infobox weapon | Weight = 3 3/9 lb | Commands = [[Pierce]], [[Slice (command)|Slice]], [[Impale]], [[Behead]], [[Iai]] | Hands = 2 | Type = None {{subst:Judge-str|13|11|10|12}} | Judge-speed = Quick | Judge-max = Quite high | Judge-ave = Rather low }}