(Created page with "<infobox> <title source="name"> <default>{{PAGENAME}}</default> </title> <image source="image"> <caption source="caption1"/> </image> <data source="developer"> <label>'''Developers'''</label> </data> <data source="license"> <label>'''License'''</label> </data> <data source="platform"> <label>'''Platform'''</label> </data> <data source="release"> <label>'''Latest Release'''</label> </data> <data source="languages"> <la...") Tags: Mobile edit Mobile web edit |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> |
|||
<infobox> |
|||
{|cellpadding="0" cellspacing="0" class="breakout" style="margin-left:1em" width="262px" |
|||
<title source="name"> |
|||
| style="text-align: center;"| |
|||
<default>{{PAGENAME}}</default> |
|||
|-class="breakouttitle" |
|||
</title> |
|||
! ''{{ #if: {{{title|}}} | {{{title}}} | {{PAGENAME}} }}'' |
|||
<image source="image"> |
|||
|- |
|||
<caption source="caption1"/> |
|||
|style="padding: 0.3em; line-height: 1.5em; padding-left: 5px;" | |
|||
</image> |
|||
{{imageexists |
|||
<data source="developer"> |
|||
| file = {{{image}}} |
|||
<label>'''Developers'''</label> |
|||
| width = {{imagewidth}} |
|||
</data> |
|||
| caption= {{{title}}} |
|||
<data source="license"> |
|||
}} |
|||
<label>'''License'''</label> |
|||
</data> |
|||
{{ #if: {{{internal|}}} | '''Internal''': {{{internal}}}<br> | }} |
|||
<data source="platform"> |
|||
{{ #if: {{{developer|}}} | '''Developer(s)''': {{{developer}}}<br> | }} |
|||
<label>'''Platform'''</label> |
|||
{{ #if: {{{langs|}}} | '''Languages''': {{{langs}}}<br> | }} |
|||
</data> |
|||
{{ #if: {{{license|}}} | '''License''': {{{license}}}<br> | }} |
|||
<data source="release"> |
|||
{{ #if: {{{release|}}} | '''Latest release''': {{{release}}}<br> | }} |
|||
⚫ | |||
</data> |
|||
<data source="languages"> |
|||
<label>'''Written in'''</label> |
|||
</data> |
|||
</infobox> |
|||
⚫ | |||
Usage: |
Usage: |
||
<pre> |
<pre> |
||
{{Infobox Tool |
{{Infobox Tool |
||
| |
|title=My Cool Tool |
||
|image= |
|image=Test.png |
||
|internal=no |
|||
|developers=dev1 |
|||
|developer=Developers who worked on this tool |
|||
⚫ | |||
|langs=C/C++ |
|||
|platform=PC |
|||
⚫ | |||
|release=v0. |
|release=v0.5 |
||
|languages=C++ |
|||
}} |
}} |
||
</pre> |
</pre> |
||
Becomes: |
|||
{{Infobox Tool |
{{Infobox Tool |
||
| |
|title=My Cool Tool |
||
|image= |
|image=Test.png |
||
|internal=no |
|||
|developers=dev1 |
|||
|developer=Developers who worked on this tool |
|||
⚫ | |||
|langs=C/C++ |
|||
|platform=PC |
|||
⚫ | |||
|release=v0. |
|release=v0.5 |
||
|languages=C++ |
|||
}} |
}} |
||
TODO: This template should auto-categorize (based on <code>internal</code> as well) so that users do not have to do it themselves. |
|||
</noinclude> |
Revision as of 20:49, 28 September 2022
Usage:
{{Infobox Tool |title=My Cool Tool |image=Test.png |internal=no |developer=Developers who worked on this tool |langs=C/C++ |license=GPL v3 |release=v0.5 }}
Becomes:
My Cool Tool |
---|
Click to upload a new image... Internal: no |
TODO: This template should auto-categorize (based on internal
as well) so that users do not have to do it themselves.