Template:Doc-links

From Linux Web Expert

Template documentation

Usage

{{Doc-links|[[Example doc]]}}
{{Doc-links|[[Doc template]]|template}}
{{Doc-links}} Loose test

* Text {{Doc-links|[[Example doc]]|inline=1}}

File:OOjs UI icon articles-rtl.svg Loose test

<templatedata> { "params": { "1": { "type": "content", "label": "Text",

           "description": "Link to the example doc or doc template, in wikitext syntax.",

"required": true }, "2": { "label": "Type", "description": "'template', 'example', or nothing. Affects formatting.", "type": "line" }, "inline": { "label": "Inline formatting", "description": "Show the template without line breaks before and after it", "type": "line" } }, "format": "inline", "description": "Show a link to an example doc or a doc template in a box." } </templatedata>