Welcome to the DFO World Wiki. With many major updates since the release of DFO, many items are missing. Visit Item Database Project to learn more.
Please remember to click "show preview" before saving the page.
Thanks for the updated logo snafuPop!

User talk:That Guy

From DFO World Wiki
Jump to: navigation, search

Making tables

When making a table

  • Please keep out data that doesn't change (SP cost this means YOU!).
    • If you find yourself writing rowspan="number of levels there are", please move that into an attribute.
      • If that property does change when you stack 8 levels, we can put it back.
  • Please do not use Template:Bgblue
  • Please do not use inline styles (width=..., style=...).
    • I'm working on transitioning all the tables to a unified style, and can't do so if everyone is doing their own thing.
    • If you think it's ugly, we can work on that.
  • Split the lines of the table up so it's easier to understand
    • I like keeping Level, Level Requirement, and MP on the same line, and then groups of properties separated with an HTML comment to help people who are at level 28 remember what's going on.

The Gate for example goes from this:

{|{{SkillTableHeader}}
|- 
!Lv
!Lv Req
!SP
!MP
!Max Number of Units
!Shooting Speed
!Attack Count
!Magic Attack
!Attack Boost Per Missing Unit
|-style="background-color: #fff;"
| 1 || 80 || rowspan="6"|100 || 880 || rowspan="6"|20 units || rowspan="6"|0.2s || rowspan="6"|10 times || 1050% || rowspan="6"|300%
|-style="background-color: #fff;"
| 2 || 82  || 962   || 1157% 
|-style="background-color: #fff;"
| 3 || 84  || 1045  || 1263% 
|-style="background-color: #fff;"
| 4 || 86  || 1128  || 1370% 
|-style="background-color: #fff;"
| 5 || 88  || 1211  || 1476% 
|-style="background-color: #fff;"
| 6 || 90  || 1293  || 1583% 
|}

To this:

{|{{SkillTableHeader}}
|-
!Lv
!Lv Req
!MP
!Magic Attack
|-
| 1 || 80 || 880 
| 1050%
|-
| 2 || 82 || 962   
| 1157% 
|-
| 3 || 84 || 1045  
| 1263% 
|-
| 4 || 86 || 1128  
| 1370% 
|-
| 5 || 88 || 1211  
| 1476% 
|-
| 6 || 90 || 1293 
| 1583% 
|}

Which is far easier to maintain and edit.

An example of the HTML comments to help with remembering long rows can be found in File:Hired Summon- Panzer Hodor.png Hired Summon: Panzer Hodor, or Demonize.png Demonize (in which I make an HTML table because there's a lot of stuff going on in the header).

Thanks, hope to see you editing again! --FMageIcon.png Everspace (talk) 00:58, 25 August 2015 (PDT)

There are no threads on this page yet.