FANDOM


local p = {}
 
function p.hello(frame)
	local name = frame.args[1] -- in this example, args[1] is the word Fred 
	return "<b>Hello, " .. name .. "!</b>" -- .. name .. replace by the word Fred
end
 
function p.templateTest(frame)
    return frame:preprocess([==[
    {{NStats
    |PStr = 0
    |IStr = 0
    |PDex = 15
    |IDex = 0
    |PEnd = 0
    |IEnd = 0
    |PCha = 10
    |ICha = 0
    |PFate = 0
    |IFate = 0
    |EnhancedStr = 0
    |EnhancedDex = 0
    |EnhancedEnd = 0
    |EnhancedCha = 0
    |PMind = 15
    |IMind = 0
    |EnhancedMind = 0
    |EnhancedFate = 0
    |PIntu = 0
    |IIntu = 0
    |EnhancedIntu = 0}}
    {{NSkills
    |PHand = 0
    |IHand = 0
    |PCon = 25
    |ICon = 1
    |PUncon = 0
    |IUncon = 1
    |PExo = 0
    |IExo = 0
    |PAux = 15
    |IAux = 0
    |PMed = 0
    |IMed = -1
    |PGen = 0
    |IGen = -1
    |EnhancedHand = 0
    |EnhancedCon = 1
    |EnhancedUncon = 0
    |EnhancedExo = 0
    |EnhancedAux = 0
    |EnhancedMed = 0
    |EnhancedGen = 0}}
    ]==])
end
 
function p.tableTest()
    return [==[
    {| style="margin: 0 0 0em 0em; border: 0.5px solid limegreen; background: limegreen; padding: 1px 1px; color: green; text-align: left; font-size: 10px;" cellpadding="1" cellspacing="1" width="100%"
    |- style="background: black; font-size: 12px;"
    ! style="background-color:black;"|Item
    !Seller
    !Type
    !Price
    !Notes
    |- style="background: black;"
    |[[Mk III Suit]]
    |Skylar Niabs
    |<s>Rent</s>
    |4 Tokens
    |Come back when another low-profile blackops mission comes up! Or if I'm going to be off mission again!
    |- style="background: black;"
    |Rocket Bike
    |Skylar Niabs
    |Rent
    |2 Tokens
    |High price because odds are it's just going to explode on you.
    |- style="background: black;"
    |Steve question coupon
    |Miyamoto De Bergerac
    |Sale
    |2 token
    |A coupon that will make Steve answer one (1) question he otherwise might not. Delayed payment acceptable.
    |- style="background: black;"
    |Battle stims
    |Pancaek Nylis
    |Sale
    |1 token/2
    |battle stims, buy two for 1 token! Check pancaek's character page inventory for available stims
    |-
    | style="background-color:black;" |2 daggers, Mace, Spear
    | style="background-color:black;"|Team Fund
    | style="background-color:black;"|Sale
    | style="background-color:black;"|1 token each item
    | style="background-color:black;"|Selling equipment from dead character. 1 item = anything between commas (eg 2 daggers for 1 token)
    |-
    | style="background-color:black;"|Gunpowder rifle from [http://einsteinianroulette.wikia.com/wiki/Mission_15 Mission 15] [5/5]
    | style="background-color:black;"|Team Fund
    | style="background-color:black;"|Sale
    | style="background-color:black;"|1 token
    | style="background-color:black;"|Selling equipment from dead character. 
    |-
    | style="background-color:black;"|Potion #46 (Christmas 2014)
    | style="background-color:black;"|Team fund
    | style="background-color:black;"|Sale
    | style="background-color:black;"|2 tokens
    | style="background-color:black;"|Selling equipment from dead character. 
    |-
    | style="background-color:black;"|Potion #3 (Christmas 2014)
    | style="background-color:black;"|Miyamoto De Bergerac
    | style="background-color:black;"|Sale
    | style="background-color:black;"|2 Tokens
    | style="background-color:black;"|Hint given was 'lumberjack'.
    |- style="background: black;"
    |[[Painkillers]] [5/6]
    |[[Team Fund]]
    |Sale
    |1 Token
    |
    |}
    ]==]
end
 
function p.htmlTable()
    return [[
    <table border="1" style="width:100%">
        <caption>Monthly savings</caption>
      <tr>
        <td>Jill</td>
        <td>Smith</td>
        <td>50</td>
      </tr>
      <tr>
        <td>Eve</td>
        <td>Jackson</td>
        <td>94</td>
      </tr>
    </table> 
    ]]
end
 
return p

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.