ߘߐ߬ߥߙߊ߬ߟߌ:ߔߐߙߑߕߊߓߟ ߌ߲߬ߝߏߓߐߞߛ
Release status: stable |
|
|---|---|
| Implementation | Tag , Hook |
| Description | ߝߊ߲ߘߐ߲ߡ ߠߎ߫ ߘߏ߲߬ߘߊ ߔߐߙߑߕߊߓߟ ߌ߲߬ߝߏߓߐߞߛ ߘߐߥߙߊ߬ߟߌ ߡߋߘߌߦߊߥߞߌ߫ 1.37.0+ ߘߐ߫ |
| Author(s) | Universal Omega, Luqgreg, Fandom (ߓߐߛߎ߲ ߦߌߟߡߊ) |
| Latest version | 0.8 |
| Compatibility policy | Master maintains backward compatibility. |
| MediaWiki | >= 1.43.0 |
| Database changes | No |
<infobox> |
|
| Licence | GNU General Public License 3.0 or later |
| Download | README |
| Example | Undertale Wiki |
| Translate the PortableInfobox extension | |
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
PortableInfoboxin yourextensions/folder. - Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'PortableInfobox' );
- Yes Done – Navigate to
Special:Versionon your wiki to verify that the extension is successfully installed.
ߟߊ߬ߓߍ߲߬ߢߐ߲߰ߡߦߊ߬ߘߊ ߘߊߘߐߓߍ߲ߠߌ߲
- $wgAllInfoboxesExcludedSubpages (array)
- ߞߐߜߍߟߋ߲ ߛߙߍߘߍ ߟߎ߬ ߞߙߊߞߏ ߕߐ߯ߛߓߍ߫ ߞߣߍ ߘߐ߫ ߞߵߊ߬ ߟߊߦߌ߬ߙߌ߲߬ߘߌ߫ ߓߟߏ߫APIallinfobox ߡߊߢߌߣߌ߲ ߘߌ߫. (ߓߐߛߎ߲:
[ "doc", "draft", "test" ]) - $wgPortableInfoboxCacheRenderers (bool)
- Whether to cache infobox renderers in the main cache. (default: false)
- $wgPortableInfoboxCustomImageWidth (int)
- ߖߌ߬ߦߊ߬ߓߍ ߖߌ߬ߦߊ߬ߙߋ߲ ߢߊ߲ߞߊ߲ ߡߍ߲ ߦߋ߫ ߟߊߓߊ߯ߙߊ߫ ߟߊ߫ ߌ߲߬ߝߏߓߐߞߛ ߘߐ߫. (ߓߐߛߎ߲: 300)
- $wgPortableInfoboxUseHeadings (bool)
- ߞߎ߲߬ߕߐ߮ ߟߊߓߊ߯ߙߊߟߌ ߘߎ߲ߛߓߍ ߌ߲߬ߝߏߓߐߞߛ ߞߎ߲߬ߕߐ߰ߦߊ ߣߌ߫ ߞߙߎ ߞߎ߲߬ߕߐ߮ ߟߎ߬ ߞߊ߲ߡߊ߬߸ ߊ߬ߟߋ ߘߌ߫ ߛߋ߫ ߞߍ߫ ߟߊ߫ [$ߓߐߒߘߊ߫ ߓߍ߲߬ߒ߬ߡߊ߬ߓߊߟߌ ߟߎ߬] ߘߌ߫ ߘߐ߬ߥߙߊ߬ߟߌ߬ ߜߘߍ߫ ߘߌ߫. (ߓߐߛߎ߲: true)
- $wgPortableInfoboxUseTidy (bool)
- ߟߊ߬ߓߊ߬ߙߊ߬ߟߌ RemexHtml ߡߐ߬ߟߐ߲߬ ߘߌ߫ ߞߊ߲ߡߊ߬ HTML ߡߊ߬ ߌ߲߬ߝߏߓߐߞߛ ߘߐ߫. (ߓߐߛߎ߲: true)
- $wgPortableInfoboxResponsiblyOpenCollapsed (bool)
- Whether to open collapsed sections when the screen is narrow. (default: true)
- $wgPortableInfoboxUseFileDescriptionPage (bool)
- Whether or not infobox images will link to file description pages instead of the files directly. (default: false)
ߟߊߓߊ߯ߙߊߟߌ
<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-defaultclass is applied instead of.pi-theme-wikiato 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-videois added to the<figure>tag.
- Videos use
<video>tags instead of showing video in a modal after clicking a thumbnail.
.pi-imageclass is no longer present in the<figure>tag with a video, instead.pi-mediaclass is applied to all media elements.
.pi-image-collectionclasses 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.
- Stable extensions/nqo
- Tag extensions/nqo
- Hook extensions/nqo
- AfterParserFetchFileAndTitle extensions/nqo
- AllInfoboxesQueryRecached extensions/nqo
- ArticlePurge extensions/nqo
- MultiContentSave extensions/nqo
- ParserFirstCallInit extensions/nqo
- ResourceLoaderRegisterModules extensions/nqo
- WgQueryPages extensions/nqo
- GPL licensed extensions/nqo
- Extensions in GitHub version control/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
- Infobox extensions/nqo
- Extensions by Fandom/nqo