< User:Badger

User:Badger/sandbox4

How to make a table

Aerial Feats
NamePrerequisite(s)Summary

{{#dpl:debug=1

category=User category=Aerial Feat include={3.5e Feat}:prereqs:summary mode=userformat format=,¦- class="²{Odd-Even¦²{var:odd}²}²"\n¦ [[%PAGE%¦²{#replace:%PAGE%¦(3.5e Feat)¦}²]],\n, tablerow=¦¦ style="text-align: left;" ¦ %%, %%\n

}}|}


Generic Table

{| class="d20" style="text-align: left;" {{#vardefine:odd|0}}
|+ Name of Table
|- style="text-align: center;"
! Column 1 || Column 2 || Column 3
{{#dpl:debug=1
|category=User
|category=Aerial Feat
|include={3.5e Feat}:prereqs:summary
|mode=userformat
|format=,¦- class="²{Odd-Even¦²{var:odd}²}²"\n¦ [[%PAGE%¦²{#replace:%PAGE%¦(3.5e Feat)¦}²]],\n,
|tablerow=¦¦ style="text-align: left;" ¦ %%, %%\n
}}|}

How it works

|include={3.5e Feat}:prereqs:summary tells the DPL where to look (in this case, Template:3.5e_Feat), and what content to pull for the table (in this case prereqs and summary)

Name of Table
Column 1Column 2Column 3

{{#dpl:debug=1

category=User category=Aerial Feat include={3.5e Feat}:prereqs:summary mode=userformat format=,¦- class="²{Odd-Even¦²{var:odd}²}²"\n¦ [[%PAGE%¦²{#replace:%PAGE%¦(3.5e Feat)¦}²]],\n, tablerow=¦¦ style="text-align: left;" ¦ %%, %%\n

}}|}

How to make a list

{{#dpl:debug=1
|category=User
|category=Aerial Feat
}}

gets you...

gollark: PotatOS now autominifies its files for MASSIVE SPACE SAVINGS and INCOMPREHENSIBLE ERRORS.
gollark: Your thing allows dollars in function names?
gollark: I'll just keep using Lua thanks. Well, for CC, at least.
gollark: I have no idea what it is still, so that doesn't help.
gollark: ```potatOSþøŧæŧøß```
This article is issued from Dandwiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.