Template:Bot: Difference between revisions

From Kaboom Wiki
>Koshchki123
Rewrite infobox for the Wikipedia template.
Add source_code field
 
(12 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Infobox
{{Infobox
   | title={{{title1|{{PAGENAME}}}}}
   | title={{{title1|{{PAGENAME}}}}}
   | image    = {{{image1|}}}
   | image    = {{#if:{{{image1|}}}|[[File:{{{image1}}}|244px]]}}
   | caption1 = {{{caption1|}}}
   | caption1 = {{{caption1|}}}


   | label1 = Name
   | label1 = Name
   | data1 = {{{name}}}
   | data1 = {{{name|}}}


   | label2 = Main Developers
   | label2 = Main Developers
   | data2 = {{{main_developers}}}
   | data2 = {{{main_developers|}}}


   | label3 = Other Contributors
   | label3 = Other Contributors
   | data3 = {{{other_contributors}}}
   | data3 = {{{other_contributors|}}}


   | label4 = Date Created
   | label4 = Date Created
   | data4 = {{{date_created}}}
   | data4 = {{{date_created|}}}


   | label5 = Currently Maintained
   | label5 = Currently Maintained
   | data5 = {{{currently_maintained}}}
   | data5 = {{{currently_maintained|}}}


   | header6  = Program Details
   | header6  = Program Details


   | label7 = Library
   | label7 = Library
   | data7 = {{{library}}}
   | data7 = {{{library|}}}


   | label8 = Language
   | label8 = Language
   | data8 = {{{language}}}
   | data8 = {{{language|}}}
}}


<noinclude>
  | label9 = Source Code
  | data9 = {{{source_code|}}}
}}<noinclude>
Example usage:
Example usage:
<pre>
<pre>
{{Bot InfoboxTemplate
{{Bot InfoboxTemplate
 
   | title1=ExampleBot
   | title1=Example
   | image1=ExampleBot.png
 
   | caption1=ExampleBot's logo
   | image1=Example
   | name=ExampleBot
 
   | main_developers=ExampleDev
   | caption1=Example
   | other_contributors=ExampleContributor
 
   | date_created=01/01/1970
   | name=Example
   | currently_maintained=Yes/No
 
   | library=ExampleLib
   | main_developers=Example
 
   | other_contributors=Example
 
   | date_created=Example
 
   | currently_maintained=Example
 
   | library=Example
 
   | language=Example
   | language=Example
 
  | source_code=Example
}}
}}
</pre>
</pre>
<templatedata>
<templatedata>
{"params":{"title1":{"suggested":true},"image1":{"suggested":true},"caption1":{"suggested":true},"name":{"suggested":true},"main_developers":{"suggested":true},"other_contributors":{"suggested":true},"date_created":{"suggested":true},"currently_maintained":{"suggested":true},"library":{"suggested":true},"language":{"suggested":true}},"sets":[],"maps":{}}
{"params":{"title1":{"suggested":true},"image1":{"suggested":true},"caption1":{"suggested":true},"name":{"suggested":true},"main_developers":{"suggested":true},"other_contributors":{"suggested":true},"date_created":{"suggested":true},"currently_maintained":{"suggested":true},"library":{"suggested":true},"language":{"suggested":true},"source_code":{"suggested":true}},"sets":[],"maps":{}}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 08:03, 3 August 2026

Bot
Program Details

Example usage:

{{Bot InfoboxTemplate
  | title1=ExampleBot
  | image1=ExampleBot.png
  | caption1=ExampleBot's logo
  | name=ExampleBot
  | main_developers=ExampleDev
  | other_contributors=ExampleContributor
  | date_created=01/01/1970
  | currently_maintained=Yes/No
  | library=ExampleLib
  | language=Example
  | source_code=Example 
}}

<templatedata> {"params":{"title1":{"suggested":true},"image1":{"suggested":true},"caption1":{"suggested":true},"name":{"suggested":true},"main_developers":{"suggested":true},"other_contributors":{"suggested":true},"date_created":{"suggested":true},"currently_maintained":{"suggested":true},"library":{"suggested":true},"language":{"suggested":true},"source_code":{"suggested":true}},"sets":[],"maps":{}} </templatedata>