Template:FeederInfobox: Difference between revisions

(create infobox)
 
m (Protected "Template:FeederInfobox" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#invoke:CatInfobox|main}}</includeonly>
<includeonly>{{#invoke:FeederInfobox|main}}</includeonly>
<noinclude>
<noinclude>
<templatedata>
<templatedata>
Line 35: Line 35:
"type": "string",
"type": "string",
"required": false
"required": false
},
"nearby_feeders": {
"description": "Other feeders that are nearby, only add if confirmed",
"type": "string"
}
}
},
},
Line 43: Line 47:
"other_names",
"other_names",
"name_zh",
"name_zh",
"watch_id"
"watch_id",
"nearby_feeders"
]
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 16:33, 16 June 2024


No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
name_enname_en

the English name (if there is one) or original name of the feeder

Example
Happy Canteen
Stringrequired
imageimage

a picture of the feeder's cameras

Fileoptional
captioncaption

caption shown under image

Example
The cameras of Happy Canteen on 2024/02/06
Stringoptional
other_namesother_names

other names for the feeder

Stringoptional
name_zhname_zh

the original Chinese name for the feeder, if it is not the only name

Stringoptional
watch_idwatch_id

the stream ID generated by the app, used for meow.camera and VLC feeds

Stringoptional
nearby_feedersnearby_feeders

Other feeders that are nearby, only add if confirmed

Stringoptional