Extension:PortableInfobox/nqo

The PortableInfobox extension allows to create portable infoboxes, which can be rendered using clean semantic HTML markup on any skin or platform using easy to understand powerful XML-like markup. It is a port of Fandom's PortableInfobox extension to the newer MediaWiki versions.

ߟߊ߬ߓߍ߲߬ߢߐ߲߰ߡߦߊ߬ߘߊ ߘߊߘߐߓߍ߲ߠߌ߲

 * $wgAllInfoboxesSubpagesBlacklist (array): ߞߐߜߍߟߋ߲ ߛߙߍߘߍ ߟߎ߬ ߞߙߊߞߏ ߕߐ߯ߛߓߍ߫ ߞߣߍ ߘߐ߫ ߞߵߊ߬ ߟߊߦߌ߬ߙߌ߲߬ߘߌ߫ ߓߟߏ߫APIallinfobox ߡߊߢߌߣߌ߲ ߘߌ߫. (ߓߐߛߎ߲: [ "doc", "draft", "test" ])
 * $wgPortableInfoboxCustomImageWidth (int): ߖߌ߬ߦߊ߬ߓߍ ߖߌ߬ߦߊ߬ߙߋ߲ ߢߊ߲ߞߊ߲ ߡߍ߲ ߦߋ߫ ߟߊߓߊ߯ߙߊ߫ ߟߊ߫ ߌ߲߬ߝߏߓߐߞߛ ߘߐ߫. (ߓߐߛߎ߲: 300)
 * $wgPortableInfoboxUseHeadings (bool): ߞߎ߲߬ߕߐ߮ ߟߊߓߊ߯ߙߊߟߌ ߘߎ߲ߛߓߍ ߌ߲߬ߝߏߓߐߞߛ ߞߎ߲߬ߕߐ߰ߦߊ ߣߌ߫ ߞߙߎ ߞߎ߲߬ߕߐ߮ ߟߎ߬ ߞߊ߲ߡߊ߬߸ ߊ߬ߟߋ ߘߌ߫ ߛߋ߫ ߞߍ߫ ߟߊ߫ [$ߓߐߒߘߊ߫ ߓߍ߲߬ߒ߬ߡߊ߬ߓߊߟߌ ߟߎ߬] ߘߌ߫ ߘߐ߬ߥߙߊ߬ߟߌ߬ ߜߘߍ߫ ߘߌ߫. (ߓߐߛߎ߲: true)
 * $wgPortableInfoboxUseTidy (bool): ߟߊ߬ߓߊ߬ߙߊ߬ߟߌ RemexHtml ߡߐ߬ߟߐ߲߬ ߘߌ߫ ߞߊ߲ߡߊ߬ HTML ߡߊ߬ ߌ߲߬ߝߏߓߐߞߛ ߘߐ߫. (ߓߐߛߎ߲: true)

ߟߊߓߊ߯ߙߊߟߌ

 * ߦߋߟߌ ߘߍ߬ߡߍ߲߬ߠߌ߲:ߌ߲߬ߝߏߓߐߞߛ/ߘߎ߲ߛߓߍ

ߞߟߋߞߟߋߘߊ ߘߎ߲ߛߓߍ
ߦߌߟߡߊ ߀.߃ ߘߐ߫߸ ߘߎ߲ߛߓߍ ߟߊߘߏ߲߬ ߘߊ߫  ߖߌ߲߬ߓߊ߲ ߞߘߐ߫߸ ߤߊ߲߯ ߓߌ߬ ߏ߬ ߦߋ߫ ߓߊ߯ߙߊ߫ ߟߊ߫ (ߞߊ߲߬ߕߐ߮). ߊ߬ ߦߋ߫ ߟߊ߬ߓߊ߰ߙߊ߬ߟߊ ߟߎ߬ ߟߊߘߌ߬ߢߍ߬ ߟߊ߫ ߞߊ߬ ߖߌ߬ߦߊ߬ߓߍ ߟߎ߬߸ ߖߌ߬ߦߊ߬ߖߟߎ ߟߎ߬߸ ߊ߬ ߡߍ߲ߞߍ߲ ߠߎ߬ ߟߊ߫ ߛߋ߲߬ߘߏ߲߬ ߌ߲߬ߝߏߓߐߞߛ ߘߐ߫߸ ߦߏ߫  ߘߎ߲ߛߓߍ ߦߴߊ߬ ߞߍ߫ ߟߊ߫ ߢߊ ߡߍ߲ ߓߊߖߎ ߦߌߟߡߊ ߘߐ߫

ߘߍ߬ߡߍ߲߬ߘߌ߬ߟߌ

 * - ߟߊ߬ߓߍ߲߬ߢߐ߲߰ߡߦߊ߬ߘߊ ߕߐ߮
 * - ߣߴߊ߬ ߟߊߘߏ߲߬ ߘߊ߫ ߕߊ߲߬ ߸ ߊ߬ ߘߌ߫ ߡߍ߲ߞߊ߲ ߞߐߕߐ߮ ߟߎ߬ ߓߍ߯ ߡߊߓߌ߬ߟߊ߬
 * - ߣߴߊ߬ ߟߊߘߏ߲߬ ߘߊ߫ ߕߊ߲߬ ߸ ߊ߬ ߘߌ߫ ߖߌ߬ߦߊ߬ߓߍ ߟߎ߬ ߓߍ߯ ߡߊߓߌ߬ߟߊ߬
 * - ߣߴߊ߬ ߟߊߘߏ߲߬ ߘߊ߫ ߕߊ߲߬ ߸ ߊ߬ ߘߌ߫ ߖߌ߬ߦߊ߬ߖߟߎ ߟߎ߬ ߓߍ߯ ߡߊߓߌ߬ߟߊ߬

ߞߊ߲߬ߕߐ߮

 * - variation of tag that allows only audio files
 * - variation of tag that allows only images and videos (for backwards compatibility, can be disabled with  )
 * - variation of tag that allows only videos

User-facing differences from the original version

 * It's based on Wikia/app@b9fcbe5d6db928e318d64ad0568ec2d09a3f406e. There may be some features introduced in the original version at a later date which are absent here.
 * Europa theme was removed.
 * class is applied instead of  to the infobox, when no theme is specified.
 * When a tag is passed to the infobox with images without captions, file name is used instead of not showing the image.
 * When embedding a video in the infobox additional class  is added to the  tag.
 * Videos use tags instead of showing video in a modal after clicking a thumbnail.
 * class is no longer present in the  tag with a video, instead   class is applied to all media elements.
 * classes were changed to.
 * attributes allow more color formats.
 * More HTML tags are allowed in captions.
 * Mobile skin doesn't get separate styling.