Template:Example: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
{{#if: {{{description |}}} | {{{description |}}} | [[Category:Examples without descriptions]]}} | {{#if: {{{description |}}} | {{{description |}}} | [[Category:Examples without descriptions]]}} | ||
{{#if: {{{screenshots |}}} | [[File:{{{screenshots}}}|300px|thumb|alt={{PAGENAME}} image]] | [[Category:Examples without images]]}} | |||
{{#if: {{{screenshots |}}} | [[File:{{{screenshots}}} | |||
== Featured Nodes == | == Featured Nodes == | ||
{{#if: {{{nodes |}}} | {{#arraymap:{{{nodes|}}}|,|x|{{#formredlink:form=node|target=x}} }} | [[Category:Examples without featured nodes]]}} | {{#if: {{{nodes |}}} | {{#arraymap:{{{nodes|}}}|,|x|{{#formredlink:form=node|target=x}} }} | [[Category:Examples without featured nodes]]}} | ||
== | == File == | ||
{{#if: {{{file |}}} | Download: [[Media:{{{file |}}}|{{{file |}}}]] | [[Category:Examples without files]] }} | {{#if: {{{file |}}} | Download: [[Media:{{{file |}}}|{{{file |}}}]] | [[Category:Examples without files]] }} | ||
{{#arraymap:{{{categories|}}}|,| | {{#arraymap:{{{categories|}}}|,|@@|[[Category:Examples:@@]]|\s}} | ||
[[Category:Examples]] | [[Category:Examples]] | ||
</includeonly> | </includeonly> | ||
__NOTOC__ |
Latest revision as of 19:40, 12 June 2024
This is the "Example" template.
It should be called in the following format:
{{Example |description= |nodes= |file= |screenshots= |categories= }}
Edit the page to see the template text.
This template defines the table "Examples". View table.