BoLS Lounge : Wargames, Warhammer & Miniatures Forum
Results 1 to 6 of 6
  1. #1
    Fly Lord
    Join Date
    Jul 2009
    Location
    Austin, Texas, United States
    Posts
    3,428

    Default Tables are enabled in the Homebrew Sub-forum

    To be more precise, we have enabled html in this subforum. That means you guys can now use tables for the easy presentation of stats, rules, etc...

    We have only enabled it for this sub-forum due to security concerns, and will be monitoring its use to ensure it is not abused.

    You can all thank Melissia for her kind request that got this feature enabled.

    Have fun everybody!
    Got some Juicy News? Email BoLS

  2. #2

    Default

    Gaaah!!! Now I have to redo the specs on ALL my Dark Eldar WIP! And I just finished it too!

    On the other hand, thank you Melissia!
    Cyberscape7 and I build conversions IN A SHED. WITH CLIPPERS N' GLUE!
    My Beloved Blog: http://www.bryssling.blogspot.com/

  3. #3
    Veteran-Sergeant
    Join Date
    Aug 2009
    Location
    Boston, MA or Athens, Greece
    Posts
    217

    Default

    Can anyone post a tutorial?
    "No one hides from the Eye, No one hides from the Sky!"

  4. #4

    Default

    We are a vBulletin forum, so look for guides about tables in vBull...

    Introduction to options:
    example: [table="option1;option2=value;option3='this is a long value with space';option4=value1,value2,value3"]
    The whole option list should be wrapped with quotes.
    Options are seperated by a semicolon
    If an option has a value it is assigned with "equal to" mark. (option2)
    If the value contains blanks or special characters it has to be wrapped with apostrophes. (option3)
    If an option has more than one value they are seperated by a comma. (option4)

    Description of options:
    head
    This option defines the first line as head, so the first row is shown as head of the table. If the table sould be sorted, the head is not sorted.

    sort=1d,2,3
    This defines the table to be sorted by column 1, then column 2, then column 3. The "d" after the first colum specifies the order: descending (default: ascending)

    autonum=1 (equal to autonum) autonum=a autonum=A
    Defines that a new first column containing a numbering should be inserted.
    1 -> 1, 2, 3, 4, ... , 999, 1000, ....
    a -> a, b, c, ... , aa, ab, ... , zz
    A -> A, B, C, ... , AA, BB, ... , ZZ

    autonumtitle=oneword autonumtitle='long value with spaces'
    Defines the title of the autonum-column. Can be left empty.

    width=123px width=45em width=67%
    Defines the width of the table.

    debug
    My plugin outputs a simple comment line after the table.
    ""
    With this option the output gets more verbose:
    ""
    This is helpful for debugging especially if you want to know if this table comes from the cache or was generated.

    css=myclass
    Defines the aditional css class of the whole table. Possible values have to be defined in admincp.
    The value is prepended by stg_table_ so the resulting css class with above example would be stg_table_myclass
    The css code has to be added to "Additional CSS Definitions" of your style (AdminCP -> Styles & Templates -> Style Manager -> (Dropdown) Main CSS -> Additional CSS Definitions)

    Introduction to special options (formating cells and rows):
    example: {option1=value1}{option2=value2}
    These "special" options can be written as the very first content of a cell to format it.

    Description of special options:
    {colsp=5}
    Defines a colspan from current cell with the length of 5 cells

    {css=myclass}
    Defines the css class of the current row. This value is only valid in the first cell of a row and should be the first option (colspan defined after it - currently reversing the order works, too).
    Back after a few years absence. Please PM me any changes to how the forum works - I currently have no idea how to make line breaks, and this is quite important to me. >.>

  5. #5

    Default

    I think the main point of this is to post stats. Like this:

    WSBSSTWIALDSV
    #1#2#3#4#5#6#7#8#9


    Here's the code for it. To put in the numbers you want, simple change the ## to whatever you want. Numbered for your convenience.
    HTML Code:
    <table border="1"><tr><td>WS</td><td>BS</td><td>S</td><td>T</td><td>W</td><td>I</td><td>A</td><td>LD</td><td>SV</td></tr><tr><td>#1</td><td>#2</td><td>#3</td><td>#4</td><td>#5</td><td>#6</td><td>#7</td><td>#8</td><td>#9</td></tr></table>
    And for walkers:
    WSBSSFrontSideRearIA
    #1#2#3#4#5#6#7#8

    HTML Code:
    <table border="1"><tr><td>WS</td><td>BS</td><td>S</td><td>Front</td><td>Side</td><td>Rear</td><td>I</td><td>A</td></tr><tr><td>#1</td><td>#2</td><td>#3</td><td>#4</td><td>#5</td><td>#6</td><td>#7</td><td>#8</td></tr></table>
    For standard vehicles:
    BSFrontSideRear
    #1#2#3#4

    HTML Code:
    <table border="1"><tr><td>BS</td><td>Front</td><td>Side</td><td>Rear</td></tr><tr><td>#1</td><td>#2</td><td>#3</td><td>#4</td></tr></table>
    And finally, for weaponry:
    WeaponRangeStr.APType
    #1#2#3#4#5

    HTML Code:
    <table border="1"><tr><td>Weapon</td><td>Range</td><td>Str.</td><td>AP</td><td>Type</td></tr><tr><td>#1</td><td>#2</td><td>#3</td><td>#4</td><td>#5</td></tr></table>
    You're welcome.
    "Nuh Uhn" is the valid counter argument to "Uhn Huh," which was the entire Affirmative case presented. -JWolf

  6. #6

    Default

    I thank you sirbiscuit!
    gonna start cracking on my Marine minidex over the next few days (just read so much fluff on the interwebs my eyes want to kill me) and this will help me a lot :P
    All hail the mighty SirBiscuit!
    Also you win an interwebs *hands interwebz*

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •