Template:Example: Difference between revisions

From Gaffer Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
{{#if: {{{description |}}} | {{{description |}}} | [[Category:Examples without descriptions]]}}
{{#if: {{{description |}}} | {{{description |}}} | [[Category:Examples without descriptions]]}}


== Screenshots ==
{{#if: {{{screenshots |}}} | [[File:{{{screenshots}}}|300px|thumb|alt={{PAGENAME}} image]] | [[Category:Examples without images]]}}  
{{#if: {{{screenshots |}}} | [[File:{{{screenshots}}}|300px|thumb|alt={{PAGENAME}} image]] | [[Category:Examples without images]]}}  


Line 12: Line 11:
{{#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]]}}


== Script ==
== File ==
{{#if: {{{file |}}} | Download: [[Media:{{{file |}}}|{{{file |}}}]] | [[Category:Examples without files]] }}
{{#if: {{{file |}}} | Download: [[Media:{{{file |}}}|{{{file |}}}]] | [[Category:Examples without files]] }}



Revision as of 00:01, 23 November 2023

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.