User:Noa T'Nessa Levinson/Sandbox6: Difference between revisions

Adding the rest of param types in to the templatedata
(Testing templateData)
(Adding the rest of param types in to the templatedata)
Line 7: Line 7:
     "format": "\n{{_|_=_}}\n",
     "format": "\n{{_|_=_}}\n",
     "params": {
     "params": {
        "unknown": {
            "label": "unknown param type",
            "description": "Uh, yes.",
            "type": "unknown"
        },
        "string": {
            "label": "Plain string param",
            "description": "Sure!",
            "type": "string"
        },
        "line": {
            "label": "Single line param",
            "description": "Obviously.",
            "type": "line",
            "suggestedvalues": [
                "Never gonna give you up",
                "Never gonna let you down",
                "Never gonna run around",
                "And desert you"
            ]
        },
         "content": {
         "content": {
             "label": "Wikitext param",
             "label": "Wikitext param",
Line 47: Line 68:
             "type": "boolean",
             "type": "boolean",
             "autovalue": "0"
             "autovalue": "0"
        },
        "date": {
            "label": "Date param",
            "description": "Huh. How does it work with our Stardates?",
            "type": "date"
        },
        "url": {
            "label": "URL param",
            "description": "Sim URLs! They might just go here!",
            "type": "url"
         }
         }
     }
     }
}
}
</templatedata>[[Category:Adingo]]</noinclude>
</templatedata>[[Category:Adingo]]</noinclude>