![]() |
#31
|
|||
|
![]() Next phase - includes rather than duplicating data - this is going to be a lot of work!
On my user page, I've copied Chant of Battle to be "Ezri Chant of Battle" which uses a different template from "spellpage". instead it uses "Ezrispellpage" which uses a new template I copied from the wikipedia.org called "Main Other" which detects whether a page is being included or not - if it's not being included it displays SpellPage, if it is being included it uses BardsongRow. Problems I currently have 1. Table inside a table caused by SpellSlotRow 2. Spells/Songs are shared Druid/Ranger etc with different levels - is the spell being included from the druid page or the ranger page? 3. Locations aren't short form, they're long form. 4. Consistency across the spell/song pages I've fixed #2 by having the data passed through from the table - this works. I've fixed 1 & 3 by having duplicated data in the song page... which is far from ideal. Any comments are welcome. http://wiki.project1999.com/User:Ezri#Levels_1_to_10 http://wiki.project1999.com/Ezri_Chant_of_Battle http://wiki.project1999.com/Template:Ezrispellpage https://en.wikipedia.org/wiki/Template:Main_other But once all the bugs are sorted out we should be able to roll this very simply out to all classes because the table will literally be {{StartSpellTable | {{:SpellName1 | ClassLevel = 1 }} {{:SpellName2 | ClassLevel = 1 }} {{:SpellName3 | ClassLevel = 1 }} }}
__________________
[60 Virtuoso] Inyahin (Half Elf)
[55 Druid] Katerie (Wood Elf) | ||
Last edited by ezri; 06-23-2015 at 05:31 AM..
|
|
#32
|
|||
|
![]() I made a new template - SpellSlotRowSmart; this receives a parameter to determine whether to display like the main page or like the Table content - this fixes #1 without compromise.
http://wiki.project1999.com/Template:SpellSlotRowSmart Locations; we'll just have to have long and short versions; it's not really a big deal - since it's all on the same page. I'm going to make it happen! [You must be logged in to view images. Log in or Register.]
__________________
[60 Virtuoso] Inyahin (Half Elf)
[55 Druid] Katerie (Wood Elf) | ||
|
#33
|
|||
|
![]() Okay, I've done the full update on the following page.
http://wiki.project1999.com/Bard/Songs But I cannot include this page within http://wiki.project1999.com/Bard I'm trying to use the below code to replace all of the song section =Songs= {{:Bard/Songs}} However it wont save, it just gives a blank page (I'm assuming an error occurred, but it doesn't say what it is). I suspect that the maximum number of includes has been reached for that page; because I cannot put the new sections in either. Okay - I got them in but at a cost - the gearing includes are no longer includes but links.
__________________
[60 Virtuoso] Inyahin (Half Elf)
[55 Druid] Katerie (Wood Elf) | ||
Last edited by ezri; 06-23-2015 at 03:08 PM..
|
|
![]() |
|
|