Template:Infobox tool: Difference between revisions

From SlyMods
Jump to navigation Jump to search
Content added Content deleted
(Fixed link parameter)
(Added infobox name parameter)
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{Infobox
<includeonly>{{Infobox
| bodystyle= width: {{{width|360px}}}
| bodystyle= width: {{{width|360px}}}
| name= Template:Infobox tool
| title= {{{name|{{FULLPAGENAME}}}}}
| title= {{{name|{{PAGENAME}}}}}
| above= Tool
| above= Tool
| image= {{#if: {{{image}}}
| image= {{#if: {{{image|}}} |{{Image exists|file={{{image|}}}|width={{{width|360px}}}}}}}
| {{#ifexist: {{{image}}}
| [[{{{image}}}|{{{width|360px}}}]]
| {{No image|{{{width|360px}}}|link={{{image|}}}}}
}}
| {{No image|{{{width|360px}}}}}
}}
| caption= {{{caption|}}}
| caption= {{{caption|}}}
| label1= {{#if: {{{creator}}}|Creator|}}
| label1= {{#if: {{{creator}}}|Creator|}}
Line 16: Line 11:
| data2= {{{releasedate|}}}
| data2= {{{releasedate|}}}
| label3= {{#if: {{{github}}}|GitHub|}}
| label3= {{#if: {{{github}}}|GitHub|}}
| data3= {{#if: {{{github}}}|[https://github.com/{{{github}}} {{{github}}}]|}}
| data3= {{#if: {{{github|}}} | [https://github.com/{{{github}}} {{{github}}}]}}
| label4= {{#if: {{{download}}}|Download|}}
}}[[Category:Tools]]</includeonly><noinclude>
| data4= {{#if: {{{download|}}} | [{{{download}}} Link] }}
{{{{FULLPAGENAME}}
}}{{Article only|[[Category:Tools]]}}</includeonly><noinclude>
| name= name
{{Infobox tool
| image= File:XXX.png
| image= File:File_name.png
| caption= caption
| caption= image caption
| creator= creator
| creator= creator
| releasedate= releasedate
| releasedate= January 1 1969
| github= github
| github= name/repo-name
| download= link
}}
}}
{{Documentation}}
{{Documentation}}</noinclude>
</noinclude>

Latest revision as of 16:41, 24 September 2023

Infobox tool
Tool
Click here to upload a new image.Dummy link
image caption
Creatorcreator
Initial ReleaseJanuary 1 1969
GitHubname/repo-name
Download[link Link]