Template:Forum link: Difference between revisions

Jump to navigation Jump to search
Add template data
m (Another French translation.)
(Add template data)
 
Line 592: Line 592:
}}
}}


[[Category:Link templates]]
<templatedata>
</noinclude>
{
"params": {
"onlyicon": {
"description": "If true, only the little FlightGear icon will be shown.",
"type": "boolean"
},
"size": {
"label": "Icon size",
"description": "This should be a valid MediaWiki image size value, e.g. 32px.",
"type": "unknown"
},
"title": {
"label": "Topic title",
"description": "This will be italicised and used to build the link text.",
"type": "string"
},
"text": {
"label": "Link text",
"description": "This is an alternative to the title parameter and, if supplied, will be used for the link text.",
"type": "string"
},
"type": {
"label": "Type",
"description": "The forum interface type.",
"type": "string",
"suggestedvalues": [
"view",
"member",
"search"
],
"default": "view"
},
"p": {
"label": "Post id",
"description": "Used with the type value of view.",
"type": "number"
},
"t": {
"label": "Topic id",
"description": "Used with the type values of view and search.",
"type": "number"
},
"u": {
"label": "User id",
"description": "Used with the type value of member.",
"type": "number"
},
"keywords": {
"label": "Keywords",
"description": "The keywords to perform a forum search with (optional). Words should be separated by the plus character \"+\". Used with the type value of search.",
"type": "string"
},
"f": {
"label": "Forum id",
"description": "Used with the type values of view and search.",
"type": "number"
},
"anchor": {
"label": "Anchor",
"description": "Used for jumping to posts (optional). Used with the type value of view."
},
"hilit": {
"description": "Words on the forum posts to be highlighted (optional). Words should be separated by the plus character \"+\". Used with the type value of view."
},
"noicon": {
"description": "If true, the little FlightGear icon will not be shown.",
"type": "boolean"
}
},
"description": "This template is used to create MediaWiki links - either via text or the icon - to subforums, topics and posts on the FlightGear forum.",
"paramOrder": [
"title",
"text",
"type",
"f",
"t",
"p",
"u",
"anchor",
"hilit",
"keywords",
"noicon",
"onlyicon",
"size"
]
}
</templatedata>
 
[[Category:Link templates]]</noinclude>

Navigation menu