Template:Infobox radio: Difference between revisions

From PZwiki
m (Update image link)
m ({{Delete|Unused}})
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>{{Languages}}</noinclude><includeonly>{{Infobox
<noinclude>{{Deprecated|Infobox item}}{{Delete|Unused}}</noinclude><includeonly>{{Infobox
|bodystyle  = width:350px; -moz-box-shadow: 0px 0px 2px 2px #{{Infobox nc|{{{name_colour|}}}}}; -webkit-box-shadow: 0px 0px 2px 2px #{{Infobox nc|{{{name_colour|}}}}}; box-shadow: 0px 0px 2px 2px #{{Infobox nc|{{{name_colour|}}}}}; border: 1px solid #{{Infobox nc|{{{name_colour|}}}}};
|bodystyle  = width:350px; -moz-box-shadow: 0px 0px 2px 2px #{{Infobox nc|{{{name_colour|}}}}}; -webkit-box-shadow: 0px 0px 2px 2px #{{Infobox nc|{{{name_colour|}}}}}; box-shadow: 0px 0px 2px 2px #{{Infobox nc|{{{name_colour|}}}}}; border: 1px solid #{{Infobox nc|{{{name_colour|}}}}};
| above      = <div style="background: #{{Infobox nc|{{{name_colour|}}}}}; padding: 5px; font-weight: bold; text-align: center; font-size: 120%; color:#{{Infobox nc|{{{name_text_colour|}}}|text}};"><span class="fn">{{{name|{{{display_name|{{PAGENAME}}}}}}}}</span></div>
| above      = <div style="background: #{{Infobox nc|{{{name_colour|}}}}}; padding: 5px; font-weight: bold; text-align: center; font-size: 120%; color:#{{Infobox nc|{{{name_text_colour|}}}|text}};"><span class="fn">{{Translation|{{{name|{{{display_name|{{PAGENAME}}}}}}}}}}</span></div>
| image      = {{#if: {{{image|}}}|[[File:{{{image}}}|{{{display_name}}}|{{{image_width|120px}}}|class=pixelart]]}}
| image      = {{#if: {{{image|}}}|[[File:{{{image}}}|{{Translation|{{{display_name}}}}}|{{{image_width|128px}}}|class=pixelart]]}}
 
| caption    = {{#if: {{{image_caption|}}}|''{{{image_caption|}}}''}}
| caption    = {{#if: {{{image_caption|}}}|''{{{image_caption|}}}''}}
| image2    = {{#if: {{{alternate_image|}}}|{{{!}} style="margin:auto;" cellspacing=5
| image2    = {{#if: {{{alternate_image|}}}|{{{!}} style="margin:auto;" cellspacing=5
{{!}} style="width:32px; padding:2px; background-color:#EEEEEE; border: 1px solid #{{Infobox nc|{{{name_colour|}}}}}; margin:auto;" {{!}} [[Image:{{{alternate_image}}}|link={{{alternate_link|}}}{{#if: {{{alternate_name|}}} |{{!}}{{{alternate_name}}} }}]]
{{!}} style="width:32px; padding:2px; background-color:#EEEEEE; border: 1px solid #{{Infobox nc|{{{name_colour|}}}}}; margin:auto;" {{!}} [[Image:{{{alternate_image}}}|link={{{alternate_link|}}}{{#if: {{{alternate_name|}}} |{{!}}{{Translation|{{{alternate_name}}}}} }}]]
{{#if: {{{alternate_image2|}}}
{{#if: {{{alternate_image2|}}}
|{{!}} style="width:32px; padding:2px; background-color:#EEEEEE; border: 1px solid #{{Infobox nc|{{{name_colour|}}}}}; margin:auto;" {{!}} [[Image:{{{alternate_image2}}}|link={{{alternate_link2|}}}{{#if: {{{alternate_name2|}}} |{{!}}{{{alternate_name2}}} }}]]
|{{!}} style="width:32px; padding:2px; background-color:#EEEEEE; border: 1px solid #{{Infobox nc|{{{name_colour|}}}}}; margin:auto;" {{!}} [[Image:{{{alternate_image2}}}|link={{{alternate_link2|}}}{{#if: {{{alternate_name2|}}} |{{!}}{{Translation|{{{alternate_name2}}}}} }}]]
{{#if: {{{alternate_image3|}}}
{{#if: {{{alternate_image3|}}}
|{{!}} style="width:32px; padding:2px; background-color:#EEEEEE; border: 1px solid #{{Infobox nc|{{{name_colour|}}}}}; margin:auto;" {{!}} [[Image:{{{alternate_image3}}}|link={{{alternate_link3|}}}{{#if: {{{alternate_name3|}}} |{{!}}{{{alternate_name3}}} }}]]
|{{!}} style="width:32px; padding:2px; background-color:#EEEEEE; border: 1px solid #{{Infobox nc|{{{name_colour|}}}}}; margin:auto;" {{!}} [[Image:{{{alternate_image3}}}|link={{{alternate_link3|}}}{{#if: {{{alternate_name3|}}} |{{!}}{{Translation|{{{alternate_name3}}}}} }}]]
{{#if: {{{alternate_image4|}}}
{{#if: {{{alternate_image4|}}}
|{{!}} style="width:32px; padding:2px; background-color:#EEEEEE; border: 1px solid #{{Infobox nc|{{{name_colour|}}}}}; margin:auto;" {{!}} [[Image:{{{alternate_image4}}}|link={{{alternate_link4|}}}{{#if: {{{alternate_name4|}}} |{{!}}{{{alternate_name4}}} }}]]
|{{!}} style="width:32px; padding:2px; background-color:#EEEEEE; border: 1px solid #{{Infobox nc|{{{name_colour|}}}}}; margin:auto;" {{!}} [[Image:{{{alternate_image4}}}|link={{{alternate_link4|}}}{{#if: {{{alternate_name4|}}} |{{!}}{{Translation|{{{alternate_name4}}}}} }}]]
{{#if: {{{alternate_image5|}}}
{{#if: {{{alternate_image5|}}}
|{{!}} style="width:32px; padding:2px; background-color:#EEEEEE; border: 1px solid #{{Infobox nc|{{{name_colour|}}}}}; margin:auto;" {{!}} [[Image:{{{alternate_image5}}}|link={{{alternate_link5|}}}{{#if: {{{alternate_name5|}}} |{{!}}{{{alternate_name5}}} }}]] }} }} }} }}
|{{!}} style="width:32px; padding:2px; background-color:#EEEEEE; border: 1px solid #{{Infobox nc|{{{name_colour|}}}}}; margin:auto;" {{!}} [[Image:{{{alternate_image5}}}|link={{{alternate_link5|}}}{{#if: {{{alternate_name5|}}} |{{!}}{{Translation|{{{alternate_name5}}}}} }}]] }} }} }} }}
{{!}}} }}
{{!}}} }}


Line 23: Line 21:
| datastyle = width:50%;
| datastyle = width:50%;


| header1    = General
| header1    = {{Translation|General}}


| label2    = Category
| label2    = {{Translation|Category}}
| data2      = {{{category|Radio}}}
| data2      = {{Translation|{{{category|Radio}}}}}


| label3    = Weight [[File:Moodle_Icon_HeavyLoad.png|right|link=Moodles#Heavy Load|Heavy Load]]
| label3    = {{Translation|Encumbrance}} [[File:Moodle_Icon_HeavyLoad.png|right|link=Moodles{{Subpage}}#{{Translation|Heavy Load}}|{{Translation|Heavy Load}}]]
| data3      = {{{weight|}}}
| data3      = {{{weight|}}}


| label4 = Function
| label4 = {{Translation|Function}}
| data4 = {{{function|{{{primary_use|}}}}}}{{#if:{{{secondary_use|}}}|<br>{{{secondary_use}}}}}
| data4 = {{{function|{{{primary_use|}}}}}}{{#if:{{{secondary_use|}}}|<br>{{{secondary_use}}}}}


| header6 = Characteristics
| header6 = {{Translation|Characteristics}}


| label7 = {{abbr|Requires battery|Does the item require a battery to operate?}}
| label7 = {{abbr|{{Translation|Requires battery}}|{{Translation|Does the item require a battery to operate?}}}}
| data7 = {{{uses_battery|}}}
| data7 = {{{uses_battery|}}}


| label8 = {{abbr|Portable|Can the item operate whilst in the player's inventory?}}
| label8 = {{abbr|{{Translation|Portable}}|{{Translation|Can the item operate whilst in the player's inventory?}}}}
| data8 = {{{portable|}}}
| data8 = {{{portable|}}}


| label9 = {{abbr|Two-way|Can the item both receive and transmit a signal?}}
| label9 = {{abbr|{{Translation|Two-way}}|{{Translation|Can the item both receive and transmit a signal?}}}}
| data9 = {{{two_way|}}}
| data9 = {{{two_way|}}}


| label10 = {{abbr|Volume range|The base distance in tiles the sound/noise from the item will travel}}
| label10 = {{abbr|{{Translation|Volume range}}|{{Translation|The base distance in tiles the sound/noise from the item will travel}}}}
| data10 = {{#if:{{{volume_range|}}}|{{{volume_range}}} tiles}}
| data10 = {{#if:{{{volume_range|}}}|{{{volume_range}}} tiles}}


| label11 = {{abbr|Mic range|The number of tiles player must be within before transmitting}}
| label11 = {{abbr|{{Translation|Mic range}}|{{Translation|The number of tiles player must be within before transmitting}}}}
| data11 = {{#if:{{{mic_range|}}}|{{{mic_range}}} tiles}}
| data11 = {{#if:{{{mic_range|}}}|{{{mic_range}}} tiles}}


| label12 = {{abbr|Transmit range|The distance in tiles the item will transmit}}
| label12 = {{abbr|{{Translation|Transmit range}}|{{Translation|The distance in tiles the item will transmit}}}}
| data12 = {{#if:{{{transmit_range|}}}|{{{transmit_range}}} tiles}}
| data12 = {{#if:{{{transmit_range|}}}|{{{transmit_range}}} tiles}}


| label13 = {{abbr|Frequency range|The bandwidth/frequency the item can recieve and transmit a signal}}
| label13 = {{abbr|{{Translation|Frequency range}}|{{Translation|The bandwidth/frequency the item can recieve and transmit a signal}}}}
| data13 = {{{min_channel|}}}&ndash;{{{max_channel|}}}
| data13 = {{{min_channel|}}}&ndash;{{{max_channel|}}}


| header31  = Technical details
| header31  = {{Translation|Technical details}}


| label32    = Base ID
| label32    = {{Translation|Item ID}}
| data32    = {{#if:{{{no_style|true}}}|{{ID|{{{class_name|[[#Item IDs|Item IDs]]}}}}}|{{{class_name|[[#Item IDs|Item IDs]]}}}}}
| data32    = {{#if:{{{no_style|true}}}|{{ID|{{{class_name|[[#Item IDs|Item IDs]]}}}}}|{{{class_name|[[#Item IDs|Item IDs]]}}}}}
}}</includeonly><noinclude>{{Documentation}}[[Category:Infobox]]</noinclude>
}}</includeonly><noinclude>{{Documentation}}[[Category:Infobox]]</noinclude>

Latest revision as of 06:01, 13 April 2024

Imbox content.png
This template is deprecated.
This template will eventually be removed. Please use Template:Infobox item instead.
Imbox deletion.png
This page is a candidate for deletion.
Reason: Unused
This page (and any subpages) will be deleted after being reviewed by an admin, and no one has objected to its deletion. Users may discuss this request for deletion on the page's talk page. Once added, this should only be removed by an admin, or the user that added it.
[view] [edit] [history] [purge] Template documentation
Imbox deletion.png
This page is a candidate for deletion.
Reason: Unused
This page (and any subpages) will be deleted after being reviewed by an admin, and no one has objected to its deletion. Users may discuss this request for deletion on the page's talk page. Once added, this should only be removed by an admin, or the user that added it.
display_name
{{{display_name}}}
alternate_name alternate_name2 alternate_name3 alternate_name3 alternate_name3
General
Category category
Encumbrance
Heavy Load
weight
Function function
Characteristics
Requires battery uses_battery
Portable portable
Two-way two_way
Volume range volume_range tiles
Mic range mic_range tiles
Transmit range transmit_range tiles
Frequency range min_channel–max_channel
Technical details
Item ID Item IDs
{{Infobox radio
|name =
|name_colour =
|name_text_colour =
|image =
|image_width=
|alternate_image=
|alternate_name=
|alternate_link=
|alternate_image2=
|alternate_name2=
|alternate_link2=
|alternate_image3=
|alternate_name3=
|alternate_link3=
|alternate_image4=
|alternate_name4=
|alternate_link4=
|alternate_image5=
|alternate_name5=
|alternate_link5=
<!--GENERAL-->
|category =
|weight =
|function =
<!--CHARACTERISTICS-->
|uses_battery =
|portable =
|two_way =
|volume_range =
|mic_range =
|transmit_range =
|min_channel =
|max_channel =
<!--TECHNICAL DETAILS-->
|item_id =
}}
Documentation transcluded from Template:Infobox radio/doc.
Editors can experiment in this template's sandbox (create)