The Witcher wiki now has a light themed alternative for the wiki skin. To check it out, go to Special:Preferences, then choose the "Appearance" tab and click on the radio button next to "Hydra".

User:AEon2001/Sandbox

From Witcher Wiki
Jump to: navigation, search

New front page Icon Layout - FAQ 2[edit | edit source]

W3 Wiki icon.png

This gradient should also work nicely:

linear-gradient(to bottom, #802020 0%, #4D1313 100%)
Content

New Witcher 3 experimental icons (fav)[edit | edit source]

New Witcher 3 experimental icons[edit | edit source]


Two rows 6&6, full-sized icons[edit | edit source]

Three rows 2&4&6, full-sized icons[edit | edit source]

DLC Code Testing[edit | edit source]

New tests using DPL tables... code from Skyrim page by Game Widow... will be testing this on Witcher 2 data soon.

Aether tw2.svg Caelum tw2.svg Fulgur tw2.svg Hydragenum tw2.svg Quebrith tw2.svg Rebis tw2.svg Sol tw2.svg Vermilion tw2.svg Vitriol tw2.svg

Armour that ups 'Geralt's maximum load'[edit | edit source]

The Armour elements that increase Geralt's maximum load:

|effects = Resistance to {{Bleed}} +20 - 30%<br>Resistance to {{Poison}} +20 - 30%<br>Geralt's maximum load +15

After some frustrating testing, first note the use of Perl Regular Expressions, adapting the code from there is still a bit of guesswork. And that \s* only matches (whitespaces), whereas here we need to match any number of any characters and for this use .*.

{{Infoboxitem2
|name = {{PAGENAME}}
|image = Tw2_armor_vicovaro.png
|caption = Armor
|type = [[The Witcher 2 armor#Armor|Chest]]
|effects = Reduction of magic {{damage}} +30 – 50%<br>Resistance to {{Burn}} +50%<br>Resistance to {{Bleed}} +50%<br>Resistance to {{Poison}} +50%<br>Geralt's maximum load +45
|armorslots = 2
|source = [[Renuald aep Matsen]]
|buy = 2739 – 3423
|sell = 138
|armor = +24
|weight = 20
|category = {{rare}}
}}

Also experimenting with replacing content on the fly. In this case removing the text Resistance to from effects, to show the effects like burn, bleed, and poison on one line instead.

{{#dplreplace:,,|<br>Resistance to |}}

works! But

{{#dplreplace:{{#dplreplace:,,|<br>Resistance to |}}|%{{Burn}}|%<br>{{Burn}}}}

using the result of a previous replace to then perform another replace does not work.

Cannot get the stupid search code to look for pages that mention "Dark Mode" and only show those :(... includematch=/.*Dark Mode.*/g. debug=3 is also completely useless!

The '''{{PAGENAME}}''' are part of the Blasphemer's Outfit. They are only available in [[Dark Mode]].

Searching the page directly for matches fails completely, but in the case of armour that is only available in Dark Mode one can filter by links existing on the page, i.e. linksto=Dark Mode.

uses=Template:Infoboxitem2 includematch=/.*Dark Mode.*/g

... ups load (without Dark Mode, only load effect)[edit | edit source]

Trying to extract the load gain number only, ignoring all the other text under effects. Example:

|effects = Resistance to {{Bleed}} +20 - 30%<br>Resistance to {{Poison}} +20 - 30%<br>Geralt's maximum load +15

Searching for load, and deleting all of the beginning of the effects line, almost works:

{{#dplreplace:,,|.*Geralt's maximum load |}}

but sometimes there is info behind the load line.

{{#dplreplace:,,|.*Geralt's maximum load \+([0-9][0-9]?).*|+\1}}

To get the number of "load", you need to define a variable "block" denoted by ( and ), that you then access via numbered reference, here \1. The ([0-9][0-9]?) block will match a number (1. digit) and a potential 2. digit that can be present or not (denoted by the ?). Note that in the regex search pattern the "+" is a special character, and has to be escaped via \+.

Name Info Effect(s) Enhancement
Slot(s)
Source Buy Sell Weight
Tw2 armor vicovaro.png Armor of Vicovaro Armor
Rare
Armor +24
Load +45
2 Renuald aep Matsen 2739 – 3423 oren(s) 138 oren(s) weight 20
Tw2 armor dragonbreathsabatons.png Basilisk boots Boots
Magical
Armor +3
Load +10
Craftable ? oren(s) ? oren(s) weight 3
Tw2 armor elderbloodgauntlets.png Elder Blood gauntlets Gauntlets
Magical
Armor +2
Load +15
Craftable 902 – 1127 oren(s) 46 oren(s) weight 2
Tw2 armor elven.png Elven armor Armor
Magical
Armor +8
Load +15
1 Cedric 1003 oren(s) 41 oren(s) weight 12
Tw2 armor elvengauntlets.png Elven gauntlets Gauntlets
Epic
Armor +2
Load +5
Philippa Eilhart 1162 oren(s) 47 oren(s) weight 0.5
Tw2 armor gnomishpatternbreeches.png Gnomish pattern breeches Trousers
Magical
Armor +3
Load +20
1 Craftable ? oren(s) ? oren(s) weight 6
Tw2 armor heavyelvenarmor.png Heavy elven armor Armor
Magical
Armor +8
Load +20
2 Craftable 1123 oren(s) 46 oren(s) weight 20
Tw2 armor kaedwenifalconersgauntlets.png Kaedweni falconer's gauntlets Superb gloves
Magical
Armor +2
Load +5
Craftable / Falas 577 oren(s) 24 oren(s) weight 2
Tw2 armor longrobustgauntlets.png Long robust gauntlets Robust gauntlets
Rare
Armor +1
Load +5
Craftable 684 oren(s) 28 oren(s) weight 1
Tw2 armor longstuddedleathergauntlets.png Long studded leather gauntlets Gauntlets
Magical
Armor +1
Load +5
Craftable / Loot 660 oren(s) 27 oren(s) weight 1
Tw2 armor mongoosegauntlets.png Mongoose gauntlets Gauntlets
Rare
Armor +3
Load +15
1 Craftable ? oren(s) ? oren(s) weight 2
Tw2 armor tirtochair.png Tir Tochair armor Armor
Epic
Armor +25
Load +55
3 Craftable / Loot ? oren(s) ? oren(s) weight 22
Tw2 armor vranarmor.png Wild Hunt armor Armor
Epic
Armor +30
Load +30
2 Craftable 6912 oren(s) 277 oren(s) weight 25
Tw2 armor elderbloodgauntlets.png Wild Hunt gauntlets Gauntlets
Rare
Armor +3
Load +10
1 Craftable ? oren(s) 133 oren(s) weight 2
Tw2 armor elderbloodboots.png Wild Hunt riding boots Boots
Magical
Armor +2
Load +10
Craftable ? oren(s) ? oren(s) weight 3
Tw2 armor elderbloodtrousers.png Wild Hunt trousers Trousers
Magical
Armor +3
Load +15
Craftable ? oren(s) ? oren(s) weight 3

Dark Mode Armour[edit | edit source]

... ups load (without Dark Mode)[edit | edit source]

Name Info Effect(s) Enhancement
Slot(s)
Source Price Buy /
Sell
Weight
Tw2 armor vicovaro.png Armor of Vicovaro Armor
Rare
Armor +24
Reduction of magic Damage +30 – 50%
Incineration +50%
Bleeding +50%
Poison +50%
Geralt's maximum load +45
2 Renuald aep Matsen 2739 – 3423 oren(s)
138 oren(s)
weight 20
Tw2 armor dragonbreathsabatons.png Basilisk boots Boots
Magical
Armor +3
Damage dealt counterattacking +2%
Incineration +8%
Vigor regeneration in combat +15%
Geralt's maximum load +10
Craftable ? oren(s)
? oren(s)
weight 3
Tw2 armor elderbloodgauntlets.png Elder Blood gauntlets Gauntlets
Magical
Armor +2
Reduction of magic Damage +15%
Bleeding +8%
Incineration +8%
Geralt's maximum load +15
Thrown dagger Damage +5
Craftable 902 – 1127 oren(s)
46 oren(s)
weight 2
Tw2 armor elven.png Elven armor Armor
Magical
Armor +8
Bleeding +20 - 30%
Poison +20 - 30%
Geralt's maximum load +15
1 Cedric 1003 oren(s)
41 oren(s)
weight 12
Tw2 armor elvengauntlets.png Elven gauntlets Gauntlets
Epic
Armor +2
Reduction of magic Damage +5%
Bleeding +8%
Incineration +8%
Geralt's maximum load +5
Thrown dagger Damage +4
Philippa Eilhart 1162 oren(s)
47 oren(s)
weight 0.5
Tw2 armor gnomishpatternbreeches.png Gnomish pattern breeches Trousers
Magical
Armor +3
Vitality regeneration +2
Geralt's maximum load +20
Duration of blade oils +2
1 Craftable ? oren(s)
? oren(s)
weight 6
Tw2 armor heavyelvenarmor.png Heavy elven armor Armor
Magical
Armor +8
Bleeding +10 - 20%
Poison +10 - 20%
Geralt's maximum load +20
2 Craftable 1123 oren(s)
46 oren(s)
weight 20
Tw2 armor kaedwenifalconersgauntlets.png Kaedweni falconer's gauntlets Superb gloves
Magical
Armor +2
Reduction of magic Damage +5%
Bleeding +8%
Incineration +8%
Geralt's maximum load +5
Trap Damage multiplier +20%
Craftable / Falas 577 oren(s)
24 oren(s)
weight 2
Tw2 armor longrobustgauntlets.png Long robust gauntlets Robust gauntlets
Rare
Armor +1
Reduction of magic Damage +4%
Bleeding +7%
Incineration +7%
Geralt's maximum load +5
Craftable 684 oren(s)
28 oren(s)
weight 1
Tw2 armor longstuddedleathergauntlets.png Long studded leather gauntlets Gauntlets
Magical
Armor +1
Reduction of magic Damage +7%
Bleeding +8%
Incineration +8%
Geralt's maximum load +5
Craftable / Loot 660 oren(s)
27 oren(s)
weight 1
Tw2 armor mongoosegauntlets.png Mongoose gauntlets Gauntlets
Rare
Armor +3
Poison +10%
Geralt's maximum load +15
Damage reduction on block +5
Reduction of Damage from magic +8%
1 Craftable ? oren(s)
? oren(s)
weight 2
Tw2 armor tirtochair.png Tir Tochair armor Armor
Epic
Armor +25
Poison+85%
Trap Damage multiplier +70%
Bomb Damage multiplier +70%
Thrown dagger Damage +15
Geralt's maximum load +55
Duration of blade oils +6
3 Craftable / Loot ? oren(s)
? oren(s)
weight 22
Tw2 armor vranarmor.png Wild Hunt armor Armor
Epic
Armor +30
Poison +70%
Incineration +70%
Bleeding +70%
Damage bonus on Signs +22
Vigor +1
Vigor regeneration in combat +60%
Damage reduction on block +20
Geralt's maximum load +30
2 Craftable 6912 oren(s)
277 oren(s)
weight 25
Tw2 armor elderbloodgauntlets.png Wild Hunt gauntlets Gauntlets
Rare
Armor +3
Poison +5%
Incineration +5%
Bleeding +5%
Damage bonus on Signs +12
Geralt's maximum load +10
Bomb Damage multiplier +60%
1 Craftable ? oren(s)
133 oren(s)
weight 2
Tw2 armor elderbloodboots.png Wild Hunt riding boots Boots
Magical
Armor +2
Poison +5%
Incineration +5%
Bleeding +5%
Damage reduction on block +3%
Vigor +1
Geralt's maximum load +10
Craftable ? oren(s)
? oren(s)
weight 3
Tw2 armor elderbloodtrousers.png Wild Hunt trousers Trousers
Magical
Armor +3
Poison +10%
Incineration +10%
Bleeding +10%
Vigor regeneration during combat +30%
Reduction of magic Damage +15%
Geralt's maximum load +15
Craftable ? oren(s)
? oren(s)
weight 3

... ups load (Dark Mode only)[edit | edit source]

Name Info Effect(s) Enhancement
Slot(s)
Source Price Buy /
Sell
Weight
Tw2 armor Darkdifficultyglovesa1.png Blasphemer's gauntlets Cursed gauntlets
Magical
Armor +2
Poison +10%
Geralt's maximum load +15
Craftable 1457 oren(s)
59 oren(s)
weight 1
Tw2 armor Darkdifficultyglovesa3.png Kinslayer's gauntlets Cursed gauntlets
Magical
Armor +4
Poison +20%
Geralt's maximum load +25
Craftable oren(s)
98 oren(s)
weight 1
Tw2 armor Darkdifficultyarmora2.png Oathbreaker's armor Cursed armor
Epic
Armor +30
Vitality +60
Reduction of magic Damage +33
Incineration +50
Bleeding +50
Poison +50
Damage bonus on Signs +8
Geralt's maximum load +50
3 Craftable 6282 oren(s)
315 oren(s)
weight 22
Tw2 armor Darkdifficultyglovesa2.png Oathbreaker's gauntlets Cursed gauntlets
Magical
Armor +3
Poison +15%
Geralt's maximum load +20
Craftable 1549 oren(s)
78 oren(s)
weight 1

Overview page of Witcher 2 Oils[edit | edit source]


Changes / Todo:

  • Added the oren(s) icons.
  • The tables contain mod_poison, mod_damage and others, these all need to be tracked and the proper icons prefixed... not really that convenient, but doable. All conditional cases added with icons.
  • Icon sized upped to standard size used everywhere else, i.e. 32px.


The Table Data[edit | edit source]

name = {{PAGENAME}} |
image = Tw2 oil Arachnid.png |
caption = Oil. Poisons foes |
ingred1 = {{reb2}} |
ingred2 = {{que2}} |
ingred3 = {{hyd2}} |
ingred4 = {{ver2}} |
ingred5 = |
mod_poison = +30% |
duration = 5 minutes |
source = [[The Witcher 2 starting equipment|starting equipment]] / [[Formula: Arachnid oil|craftable]] |
sell = 6 |
buy = 50 – 126 |
wt = 0.2 |

The Code[edit | edit source]

<dpl>
category=The Witcher 2 oils
uses=Template:Infoboxoil2
include= {Infoboxoil2}:image, {Infoboxoil2}:name, {Infoboxoil2}:caption, {Infoboxoil2}:ingred1, {Infoboxoil2}:ingred2, {Infoboxoil2}:ingred3, {Infoboxoil2}:ingred4, {Infoboxoil2}:ingred5, {Infoboxoil2}:mod_poison, {Infoboxoil2}:mod_bleed, {Infoboxoil2}:mod_damage, {Infoboxoil2}:duration, {Infoboxoil2}:source, {Infoboxoil2}:buy, {Infoboxoil2}:sell, {Infoboxoil2}:wt
format={| class="wikitable sortable"\n! Name !! Info !! Ingredients !! Effect(s) !! data-sort-type="number"|Duration !! Source !! style="white-space:nowrap;" data-sort-type="number"|Price Buy /<br> Sell !! data-sort-type="number"|Weight
secseparators =\n|-\n| style="white-space:nowrap;"|[[File:,,|32px|link=,,]] [[%PAGE%]]\n| '',,''\n| style="white-space:nowrap;"|,, ,, ,, ,, ,,\n| {{IfThenElse|,,|{{Poison}} |}} {{IfThenElse|,,|{{Bleed}} |}} {{IfThenElse|,,|{{Damage}} |}}\n| style="white-space:nowrap;"|,,\n| ,,\n| style="white-space:nowrap; text-align:right;"|,, {{oren2}}<br>,, {{oren2}}\n|{{Weight}} ,, 
</dpl>

{{#dpl:category=food|uses=Template:Infobox item|resultsheader=There are '''%TOTALPAGES%''' food-related items in ''7 Days to Die''|format=,}} and
{{#dpl:category=plants|uses=Template:Infobox item|resultsheader=there are '''%TOTALPAGES%''' plant items.|format=,}}

<dpl>
category=food|plants
uses=Template:Infobox item
include= {infobox item}:image, {infobox item}:craftable, {infobox item}:hunger, {infobox item}:thirst, {infobox item}:consumption, {infobox item}:used_in
format={| class="wikitable sortable" style="width:70%"\n! style="text-align:center"|Name !! style="text-align:center"|Craftable !! style="text-align:center"|Hunger !! style="text-align:center"|Thirst !! style="text-align:center"|Other Effects !! style="text-align:center"|Used in
secseparators=\n|-\n|[[File:,,|frameless|x20px|link=%PAGE%]] [[%PAGE%]]\n|{{#ifeq:,,|y|Yes|No}}\n|,,\n|,,\n|,,\n|,,
</dpl>

Testing Armour filtering[edit | edit source]

Looking trough the list of armour in Witcher 2, filtering for specific attributes, e.g. magical armour, or those with armour slots, etc.

Issue: The Leather jacket has two Infoboxitem2 templates, thus shows the info for two armours... this is a bit ugly. The good way to resolve things would be to create two separate pages (and crosslink them).

  • includematch=/\|\s*armorslots\s*=\s*[1-3]/s ignores all pages with templates that do not use a armorslots parameter, the latter are then checked if the have "1", "2", or "3" (regex number range used here) such slots. The \s* will match any number of chars, thus lets you use as many whitespaces as you light in template parameter formatting.
  • count=20 does not properly work.
Name Info Enhancement(s) Effect(s) Duration Source Price Buy /
Sell
Weight
Tw2 armor importedravensarmor.png Raven's armor Armor 3 Imported starting equipment oren(s)
1039 oren(s)
weight 43
Tw2 armor thyssen.png Thyssen's armor Armor 2 Loot oren(s)
349 oren(s)
weight 45
Tw2 armor zireael.png Zireael's armor Armor 3 Dethmold oren(s)
2792 – 3490 oren(s)
weight 141
Tw2 armor vicovaro.png Armor of Vicovaro Armor 2 Renuald aep Matsen oren(s)
2739 – 3423 oren(s)
weight 138
Tw2 armor kayrancarapace.png Kayran carapace armor Armor 3 Craftable oren(s)
1657 oren(s)
weight 84
Tw2 armor dragonscale.png Dragon scale armor Armor 3 Mael oren(s)
3617 oren(s)
weight 146
Tw2 armor astrogarus.png Astrogarus' armor Armor 1 Loot oren(s)
1501 oren(s)
weight 61
Tw2 armor kaedweni leather.png Kaedweni leather armor Armor 2 Loot oren(s)
1091 oren(s)
weight 45
Tw2 armor bluestripescombatjacket.png Blue Stripes combat jacket Armor 3 Starting equipment oren(s)
890 oren(s)
weight 37
Tw2 armor shiadhal.png Shiadhal's armor Armor 2 Loot / Mysterious merchant oren(s)
961 oren(s)
weight 39
Tw2 armor elven.png Elven armor Armor 1 Cedric oren(s)
1003 oren(s)
weight 41


Here the armour page that do NOT have slots[edit | edit source]

Commented out for now:

<dpl>
category=The Witcher 2 armor
uses=Template:Infoboxitem2
includenotmatch=/\|\s*armorslots\s*=\s*[1-3]/s
include= {Infoboxitem2}:image, {Infoboxitem2}:name, {Infoboxitem2}:caption, {Infoboxitem2}:armorslots, {Infoboxitem2}:duration, {Infoboxitem2}:source, {Infoboxitem2}:buy, {Infoboxitem2}:sell, {Infoboxitem2}:wt
format={| class="wikitable sortable"\n! Name !! Info !! Enhancement(s) !! Effect(s) !! data-sort-type="number"|Duration !! Source !! style="white-space:nowrap;" data-sort-type="number"|Price Buy /<br> Sell !! data-sort-type="number"|Weight
secseparators =\n|-\n| style="white-space:nowrap;"|[[File:,,|32px|link=,,]] [[%PAGE%]]\n| '',,''\n| style="white-space:nowrap;"|,,\n| ,,\n| style="white-space:nowrap; text-align:right;"|,, {{oren2}}<br>,, {{oren2}}\n|{{Weight}} ,, 
</dpl>