ߘߐ߬ߥߙߊ߬ߟߌ:ߔߐߙߑߕߊߓߟ ߌ߲߬ߝߏߓߐߞߛ
PortableInfobox Release status: stable |
|
---|---|
Implementation | Tag |
Description | ߝߊ߲ߘߐ߲ߡ ߠߎ߫ ߘߏ߲߬ߘߊ ߔߐߙߑߕߊߓߟ ߌ߲߬ߝߏߓߐߞߛ ߘߐߥߙߊ߬ߟߌ ߡߋߘߌߦߊߥߞߌ߫ 1.37.0+ ߘߐ߫ |
Author(s) | Universal Omega, Luqgreg, Fandom (ߓߐߛߎ߲ ߦߌߟߡߊ) |
Latest version | 0.6 (2022-01-08) |
Compatibility policy | Master maintains backward compatibility. |
MediaWiki | 1.37.0+ |
Database changes | No |
License | GNU General Public License 3.0 or later |
Download | GitHub: README |
|
|
<infobox> |
|
Public wikis using | 5,873 (Ranked 84th) |
Issues | Open issues · Report a bug |
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. ߊ߬ ߦߋ߫ ߝߊ߲ߘߐ߲ߡ ߠߎ߫ ߘߏ߲߬ߘߊ ߟߋ߬ ߘߌ߫ ߔߐߙߑߕߊߓߟ ߌ߲߬ߝߏߓߐߞߛ ߘߐߥߙߊ߬ߟߌ ߘߐ߫ ߡߋߘߌߦߊߥߞߌ߫ ߦߌߟߡߊ߫ ߞߎߘߊ߫ ߟߊ߫.
ߡߊ߬ߞߍ߬ߟߌ
- ߥߎߟߊߟߊߖߛߐ and place the file(s) in a directory called
PortableInfobox
in yourextensions/
folder. - Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'PortableInfobox' );
- Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
ߟߊ߬ߓߍ߲߬ߢߐ߲߰ߡߦߊ߬ߘߊ ߘߊߘߐߓߍ߲ߠߌ߲
- $wgAllInfoboxesSubpagesBlacklist (array)
- ߞߐߜߍߟߋ߲ ߛߙߍߘߍ ߟߎ߬ ߞߙߊߞߏ ߕߐ߯ߛߓߍ߫ ߞߣߍ ߘߐ߫ ߞߵߊ߬ ߟߊߦߌ߬ߙߌ߲߬ߘߌ߫ ߓߟߏ߫APIallinfobox ߡߊߢߌߣߌ߲ ߘߌ߫. (ߓߐߛߎ߲: [ "doc", "draft", "test" ])
- $wgPortableInfoboxCustomImageWidth (int)
- ߖߌ߬ߦߊ߬ߓߍ ߖߌ߬ߦߊ߬ߙߋ߲ ߢߊ߲ߞߊ߲ ߡߍ߲ ߦߋ߫ ߟߊߓߊ߯ߙߊ߫ ߟߊ߫ ߌ߲߬ߝߏߓߐߞߛ ߘߐ߫. (ߓߐߛߎ߲: 300)
- $wgPortableInfoboxUseHeadings (bool)
- ߞߎ߲߬ߕߐ߮ ߟߊߓߊ߯ߙߊߟߌ ߘߎ߲ߛߓߍ ߌ߲߬ߝߏߓߐߞߛ ߞߎ߲߬ߕߐ߰ߦߊ ߣߌ߫ ߞߙߎ ߞߎ߲߬ߕߐ߮ ߟߎ߬ ߞߊ߲ߡߊ߬߸ ߊ߬ߟߋ ߘߌ߫ ߛߋ߫ ߞߍ߫ ߟߊ߫ [$ߓߐߒߘߊ߫ ߓߍ߲߬ߒ߬ߡߊ߬ߓߊߟߌ ߟߎ߬] ߘߌ߫ ߘߐ߬ߥߙߊ߬ߟߌ߬ ߜߘߍ߫ ߘߌ߫. (ߓߐߛߎ߲: true)
- $wgPortableInfoboxUseTidy (bool)
- ߟߊ߬ߓߊ߬ߙߊ߬ߟߌ RemexHtml ߡߐ߬ߟߐ߲߬ ߘߌ߫ ߞߊ߲ߡߊ߬ HTML ߡߊ߬ ߌ߲߬ߝߏߓߐߞߛ ߘߐ߫. (ߓߐߛߎ߲: true)
ߟߊߓߊ߯ߙߊߟߌ
<span id="<media />
_tag">
<media />
ߘߎ߲ߛߓߍ
ߦߌߟߡߊ ߀.߃ ߘߐ߫߸ <media />
ߘߎ߲ߛߓߍ ߟߊߘߏ߲߬ ߘߊ߫ <image />
ߖߌ߲߬ߓߊ߲ ߞߘߐ߫߸ ߤߊ߲߯ ߓߌ߬ ߏ߬ ߦߋ߫ ߓߊ߯ߙߊ߫ ߟߊ߫ (ߞߊ߲߬ߕߐ߮).
ߊ߬ ߦߋ߫ ߟߊ߬ߓߊ߰ߙߊ߬ߟߊ ߟߎ߬ ߟߊߘߌ߬ߢߍ߬ ߟߊ߫ ߞߊ߬ ߖߌ߬ߦߊ߬ߓߍ ߟߎ߬߸ ߖߌ߬ߦߊ߬ߖߟߎ ߟߎ߬߸ ߊ߬ ߡߍ߲ߞߍ߲ ߠߎ߬ ߟߊ߫ ߛߋ߲߬ߘߏ߲߬ ߌ߲߬ߝߏߓߐߞߛ ߘߐ߫߸ ߦߏ߫ <image />
ߘߎ߲ߛߓߍ ߦߴߊ߬ ߞߍ߫ ߟߊ߫ ߢߊ ߡߍ߲ ߓߊߖߎ ߦߌߟߡߊ ߘߐ߫
ߘߍ߬ߡߍ߲߬ߘߌ߬ߟߌ
source
- ߟߊ߬ߓߍ߲߬ߢߐ߲߰ߡߦߊ߬ߘߊ ߕߐ߮audio
- ߣߴߊ߬ ߟߊߘߏ߲߬ ߘߊ߫ ߕߊ߲߬false
߸ ߊ߬ ߘߌ߫ ߡߍ߲ߞߊ߲ ߞߐߕߐ߮ ߟߎ߬ ߓߍ߯ ߡߊߓߌ߬ߟߊ߬image
- ߣߴߊ߬ ߟߊߘߏ߲߬ ߘߊ߫ ߕߊ߲߬false
߸ ߊ߬ ߘߌ߫ ߖߌ߬ߦߊ߬ߓߍ ߟߎ߬ ߓߍ߯ ߡߊߓߌ߬ߟߊ߬video
- ߣߴߊ߬ ߟߊߘߏ߲߬ ߘߊ߫ ߕߊ߲߬false
߸ ߊ߬ ߘߌ߫ ߖߌ߬ߦߊ߬ߖߟߎ ߟߎ߬ ߓߍ߯ ߡߊߓߌ߬ߟߊ߬
ߘߋߣߍ߲ ߠߎ߬ ߟߊ߫ ߘߎ߲ߛߓߍ
<default>
<caption>
ߞߊ߲߬ߕߐ߮
<audio />
-<media />
ߘߎ߲ߛߓߍ ߓߐߣߍ߲ߢߐ߲߯ߡߊ ߡߍ߲ ߦߋ߫ ߡߍ߲ߞߊ߲ ߞߐߕߐ߮ ߟߎ߬ ߘߐߙߐ߲߫ ߠߊߘߌ߬ߢߍ߬ ߟߊ߫<image />
-<media />
ߘߎ߲ߛߓߍ߫ ߓߐߣߍ߲ߢߐ߲߰ߡߊ ߡߍ߲ ߠߎ߬ ߦߋ߫ ߖߌ߬ߦߊ߬ߓߍ ߣߌ߫ ߖߌ߬ߦߊ߬ߖߟߎ ߟߎ߬ ߘߐߙߐ߲߫ ߠߊߘߌ߬ߢߍ߬ ߟߊ߫ (ߞߕߐߟߊ ߓߍ߲߬ߒ߬ߡߊ߬ߕߊ ߦߋ߫߸ ߡߍ߲ ߘߌ߫ ߛߋ߫ ߓߐ߫ ߟߴߊ߬ ߟߊ߫video="false"
ߘߌ߫)<video />
-<media />
ߘߎ߲ߛߓߍ ߓߐߣߍ߲ߢߐ߲߯ߡߊ ߡߍ߲ ߦߋ߫ ߖߌ߬ߦߊ߬ߖߟߎ ߟߎ߬ ߘߐߙߐ߲߫ ߠߊߘߌ߬ߢߍ߬ ߟߊ߫
ߟߊ߬ߓߊ߰ߙߊ߬ߟߊ ߡߍ߲ ߦߋ߫ ߓߐߢߐ߲߯ߡߊߟߌ ߟߊߘߊ߲߫ ߠߊ߫ ߓߐߛߎ߲ ߦߌߟߡߊ ߡߊ߬
ߊ߬ ߓߌ߲ߓߌ߲ߣߍ߲߫ ߦߋ߫ Wikia/app@b9fcbe5d6db928e318d64ad0568ec2d09a3f406e ߟߋ߬ ߡߊ߬. ߟߊ߬ߓߊ߰ߙߊ߬ߟߌ ߘߏ߫ ߟߎ߫ ߟߊߘߏ߲߬ߣߍ߲߫ ߘߌ߫ ߞߍ߫ ߓߐߛߎ߲ ߦߌߟߡߊ ߘߐ߫ ߞߐߟߊ߫ ߕߎߡߘߊ ߟߎ߬ ߟߊ߫ ߡߍ߲ ߠߎ߬ ߦߋ߫ ߞߐߓߊ߯ߦߊ ߘߐ߫ ߦߊ߲߬
- Europa theme was removed.
.pi-theme-default
class is applied instead of.pi-theme-wikia
to the infobox, when no theme is specified.
- When a
<gallery>
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
.pi-video
is added to the<figure>
tag.
- Videos use
<video>
tags instead of showing video in a modal after clicking a thumbnail.
.pi-image
class is no longer present in the<figure>
tag with a video, instead.pi-media
class is applied to all media elements.
.pi-image-collection
classes were changed to.pi-media-collection
.
accent-color-*
attributes allow more color formats.
- More HTML tags are allowed in captions.
- Mobile skin doesn't get separate styling.
This extension is included in the following wiki farms/hosts and/or packages: This is not an authoritative list. Some wiki farms/hosts and/or packages may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm. |
- Stable extensions/nqo
- Tag extensions/nqo
- GPL licensed extensions/nqo
- Extensions in GitHub version control/nqo
- ParserFirstCallInit extensions/nqo
- AfterParserFetchFileAndTitle extensions/nqo
- WgQueryPages extensions/nqo
- AllInfoboxesQueryRecached extensions/nqo
- ArticlePurge extensions/nqo
- MultiContentSave extensions/nqo
- ResourceLoaderRegisterModules extensions/nqo
- All extensions/nqo
- Extensions included in Fandom/nqo
- Extensions included in Miraheze/nqo
- Extensions included in MyWikis/nqo
- Extensions included in Telepedia/nqo
- Extensions included in wiki.gg/nqo
- Extensions included in WikiForge/nqo
- Infobox extensions/nqo
- Extensions by Fandom/nqo