Template:Infobox place: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
Placeholder stole this from another wiki lol
 
ok it kinda works but still TODO
Line 1: Line 1:
{{Infobox
<div class="infobox">
| child      = {{lc:{{{embed}}}}}
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
 
<div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|300px]]</div>}}
| bodyclass  = vcard plainlist
<table class="infobox-table">{{#if:{{{releasedate|}}}|<tr>
 
    <th>Last released</th>
| title      = {{#ifeq:{{lc:{{{embed}}}}}|yes|'''Image'''}}
     <td>{{{releasedate}}}</td>
| decat      = yes <!-- remove from template:infobox tracking categories -->
</tr>}}{{#if:{{{version|}}}|<tr>
 
     <th>Latest version</th>
| abovestyle  = background-color: {{Infobox image/color|{{{Background|{{{background|}}}}}}}}
     <td>{{{version}}}</td>
| above      = {{#ifeq:{{lc:{{{embed}}}}}|yes||{{#if:{{{Name|{{{name|}}}}}}|{{#if:{{{honorific_prefix|}}}|<div class="honorific-prefix" style="font-size: 78%; font-weight: normal;">{{{honorific_prefix|}}}</div>}}<div style="display:inline;" class="{{Infobox image/hCard class|{{{Background|{{{background|}}}}}}}}">{{{Name|{{{name}}}}}}</div>{{#if:{{{native_name|}}}|<div class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</div>}}{{#if:{{{honorific_suffix|}}}|<div class="honorific-suffix" style="font-size: 78%; font-weight: normal;">{{{honorific_suffix|}}}</div>}} |{{BASEPAGENAME}}}}}}
</tr>}}{{#if:{{{clients|}}}|<tr>
 
     <th>Supported clients</th>
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{Img|{{{image|}}}}}}|size={{#ifeq:{{lc:{{{Landscape|{{{landscape|}}}}}}}}|yes|{{min|300|{{#if:{{#ifexpr:{{{Img_size|{{{image_size}}}}}}}}|300|{{{Img_size|{{{image_size}}}}}}}}}}x200px|{{{Img_size|{{{image_size|}}}}}}}}|sizedefault=frameless|upright={{{Img_upright|{{{image_upright|1}}}}}}|title={{{Img_capt|{{{caption|}}}}}}|alt={{{Img_alt|{{{alt|}}}}}}|suppressplaceholder=yes}}
     <td>{{{clients}}}</td>
| caption     = {{{Img_capt|{{{caption|}}}}}}
</tr>}}{{#if:{{{credits|}}}|<tr>
 
     <th>Credits</th>
    | class1      = Year of release
     <td>{{{credits}}}</td>
    | label1      = {{Nowrap|Year of release}}
</tr>}}</table>
    | data1      = {{{year_of_release|{{{year_of_release|}}}}}}
</div>
 
<noinclude>
    | class2      = Default wallpaper
     | label2      = {{Nowrap|Default wallpaper}}
     | data2      = {{{default_wallpaper|{{{default_wallpaper|}}}}}}
 
    | class3      = Included image types
    | label3      = {{Nowrap|Included image types}}
    | data3      = {{{included_image_types|{{{included_image_types|}}}}}}
 
    | class4      = Notable artists
     | label4      = {{Nowrap|Notable artists}}
     | data4      = {{{notable|{{{notable|}}}}}}
 
    | class5      = Agencies used
    | label5      = {{Nowrap|Agencies used}}
    | data5      = {{{agencies|{{{agencies|}}}}}}
 
    | class6      = Preceded by
     | label6      = {{Nowrap|Preceded by}}
     | data6      = {{{preceded_by|{{{preceded_by|}}}}}}
 
    | class7      = Succeeded by
    | label7      = {{Nowrap|Succeeded by}}
    | data7      = {{{succeeded by|{{{succeeded_by|}}}}}}
}}<noinclude>
{{Documentation}}
{{Documentation}}
<!--Please add this template's categories to the /doc subpage, not here - thanks!-->
<!--Please add this template's categories to the /doc subpage, not here - thanks!-->
Line 46: Line 22:
{
{
"params": {
"params": {
"year_of_release": {
"releasedate": {
"label": "Year of Release",
"label": "Last released",
"description": "The year that the software released in.",
"description": "The date that the latest version released.",
"example": "1984",
"example": "11-6-2023",
"type": "number",
"type": "string",
"suggested": true
"suggested": true
},
},
Line 84: Line 60:
"description": "An infobox for use on software.",
"description": "An infobox for use on software.",
"paramOrder": [
"paramOrder": [
"year_of_release",
"releasedate",
"default_wallpaper",
"default_wallpaper",
"included_image_types",
"included_image_types",
Line 91: Line 67:
]
]
}
}
</templatedata></noinclude>
</templatedata>
 
{{Infobox_place
| title = hi-title
| image = Welcome_to_ROBLOX_Building.png
| param1 = hi1
| param2 = hi2
| param3 = hi3
| param4 = hi4
| param5 = hi5
}}
</noinclude>

Revision as of 20:00, 6 November 2023

Infobox place

The documentation page does not exist and must be created.

An infobox for use on software.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Last releasedreleasedate

The date that the latest version released.

Example
11-6-2023
Stringsuggested
Default wallpaperdefault_wallpaper

If this is an operating system, you should specify its default wallpaper here.

Example
[[Clouds]], #008080
Stringsuggested
Included image typesincluded_image_types

If this is an operating system, you should specify the types of wallpapers that were included here. Seperate each one with <br>.

Example
Wallpapers<br>Patterns
Stringsuggested
Preceded bypreceded_by

The previous version of the software.

Example
[[Windows 95]] (1995)
Stringsuggested
Succeeded bysucceeded_by

The next version of the software.

Example
[[Windows 2000]] (2000)
Stringsuggested
hi-title