VideoHelp Forum




+ Reply to Thread
Results 1 to 2 of 2
  1. Member thecoalman's Avatar
    Join Date
    Feb 2004
    Location
    Pennsylvania
    Search PM
    Anbody famialiar with substituting variables in a Wiki template? I'm getting comletely lost on the syntax. Be easy if it was PHP .. :P Anyhow on the wiki page I have:

    Code:
    {{template1|
    Field1=Variable1|
    Field2=Variable2|
    Field3=Variable3|
    }}
    In my template I have:
    Code:
    {| 
    |- 
    |{{{Field 1}}}
    |- 
    |{{{Field 2}}}
    |- 
    |{{{Field 3}}}
    |}
    Which makes a table with variables, that works fine.
    -------------

    What I want to do is have some variables in the template like:

    ID1=Something1
    ID2=Something2
    ID3=Something3

    And then in field 3 it prints "Something*" where the ID* and the variable3 match.
    Quote Quote  
  2. Member thecoalman's Avatar
    Join Date
    Feb 2004
    Location
    Pennsylvania
    Search PM
    NVM , never installed the extension. Won't work if there's nothing to parse them.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!