Template:Infobox tool: Difference between revisions

Added infobox name parameter
(Added category helper)
(Added infobox name parameter)
 
(10 intermediate revisions by 2 users not shown)
Line 1:
<includeonly>{{Infobox
| bodystyle= width: {{{width|360px}}}
| name= Template:Infobox tool
| title= {{{name|{{FULLPAGENAMEPAGENAME}}}}}
| above= Tool
| 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|}}}
| label1= {{#if: {{{creator}}}|Creator|}}
Line 16 ⟶ 11:
| data2= {{{releasedate|}}}
| label3= {{#if: {{{github}}}|GitHub|}}
| data3= {{#if: {{{github|}}} | [https://github.com/{{{github}}} {{{github}}}]|}}
| label4= {{#if: {{{download}}}|Download|}}
}}{{ns0|[[Category:Tools]]}}</includeonly><noinclude>
| data4= {{#if: {{{download|}}} | [{{{download}}} Link] }}
{{{{Infobox tool}}
}}{{ns0Article only|[[Category:Tools]]}}</includeonly><noinclude>
| name= name
{{{{Infobox tool}}
| image= File:XXXFile_name.png
| caption= image caption
| creator= creator
| releasedate= releasedateJanuary 1 1969
| github= githubname/repo-name
| download= link
}}
{{Documentation}}</noinclude>
</noinclude>