"සැකිල්ල:Wikimedia for portals" හි සංශෝධන අතර වෙනස්කම්
සුළුNo edit summary |
සුළුNo edit summary |
||
3 පේළිය: | 3 පේළිය: | ||
<div style="display:inline-block;display:flex;flex-wrap:wrap;justify-content:center;">{{#ifeq:{{{b}}}|no|| |
<div style="display:inline-block;display:flex;flex-wrap:wrap;justify-content:center;">{{#ifeq:{{{b}}}|no|| |
||
<div style="float:left; margin:0 3px 3px 3px; font-size:91%;"> |
<div style="float:left; margin:0 3px 3px 3px; font-size:91%;"> |
||
'''[[Wikibooks:{{{b|Special:Search/{{{page|{{PAGENAME}}}}}}}}| |
'''[[Wikibooks:{{{b|Special:Search/{{{page|{{PAGENAME}}}}}}}}|විකිබුක්ස්]]'''<br> |
||
පොත්<br> |
|||
[[File:Wikibooks-logo.svg|25x25px|center|link={{fullurl:Wikibooks:{{{b|Special:Search/{{{page|{{PAGENAME}}}}}}}}}}|alt=]] |
[[File:Wikibooks-logo.svg|25x25px|center|link={{fullurl:Wikibooks:{{{b|Special:Search/{{{page|{{PAGENAME}}}}}}}}}}|alt=]] |
||
</div> |
</div> |
||
}}{{#ifeq:{{{commons}}}|no|| |
}}{{#ifeq:{{{commons}}}|no|| |
||
<div style="float:left; margin:0 3px 3px 3px; font-size:91%;"> |
<div style="float:left; margin:0 3px 3px 3px; font-size:91%;"> |
||
'''[[Commons:{{{commons|Special:Search/Category:{{{page|{{PAGENAME}}}}}}}}| |
'''[[Commons:{{{commons|Special:Search/Category:{{{page|{{PAGENAME}}}}}}}}|කොමන්ස්]]'''<br> |
||
මාධ්ය<br> |
|||
Media<br> |
|||
[[File:Commons-logo.svg|25x25px|center|link={{fullurl:Commons:{{{commons|Special:Search/Category:{{{page|{{PAGENAME}}}}}}}}}}|alt=]] |
[[File:Commons-logo.svg|25x25px|center|link={{fullurl:Commons:{{{commons|Special:Search/Category:{{{page|{{PAGENAME}}}}}}}}}}|alt=]] |
||
</div> |
</div> |
||
}}{{#ifeq:{{{n}}}|no|| |
}}{{#ifeq:{{{n}}}|no|| |
||
<div style="float:left; margin:0 3px 3px 3px; font-size:91%;"> |
<div style="float:left; margin:0 3px 3px 3px; font-size:91%;"> |
||
'''[[Wikinews:{{{n|Special:Search/{{{page|{{PAGENAME}}}}}}}}| |
'''[[Wikinews:{{{n|Special:Search/{{{page|{{PAGENAME}}}}}}}}|විකිනිව්ස්]]''' <br> |
||
පුවත්<br> |
|||
[[File:Wikinews-logo.svg|x25px|center|link={{fullurl:Wikinews:{{{n|Special:Search/{{{page|{{PAGENAME}}}}}}}}}}|alt=]] |
[[File:Wikinews-logo.svg|x25px|center|link={{fullurl:Wikinews:{{{n|Special:Search/{{{page|{{PAGENAME}}}}}}}}}}|alt=]] |
||
</div> |
</div> |
||
}}{{#ifeq:{{{q}}}|no|| |
}}{{#ifeq:{{{q}}}|no|| |
||
<div style="float:left; margin:0 3px 3px 3px; font-size:91%;"> |
<div style="float:left; margin:0 3px 3px 3px; font-size:91%;"> |
||
'''[[Wikiquote:{{{q|Special:Search/{{{page|{{PAGENAME}}}}}}}}| |
'''[[Wikiquote:{{{q|Special:Search/{{{page|{{PAGENAME}}}}}}}}|විකික්වෝට්]]''' <br> |
||
කියමන්<br> |
|||
Quotations<br> |
|||
[[File:Wikiquote-logo.svg|25x25px|center|link={{fullurl:Wikiquote:{{{q|Special:Search/{{{page|{{PAGENAME}}}}}}}}}}|alt=]] |
[[File:Wikiquote-logo.svg|25x25px|center|link={{fullurl:Wikiquote:{{{q|Special:Search/{{{page|{{PAGENAME}}}}}}}}}}|alt=]] |
||
</div> |
</div> |
||
}}{{#ifeq:{{{s}}}|no|| |
}}{{#ifeq:{{{s}}}|no|| |
||
<div style="float:left; margin:0 3px 3px 3px; font-size:91%;"> |
<div style="float:left; margin:0 3px 3px 3px; font-size:91%;"> |
||
'''[[Wikisource:{{{s|Special:Search/{{{page|{{PAGENAME}}}}}}}}| |
'''[[Wikisource:{{{s|Special:Search/{{{page|{{PAGENAME}}}}}}}}|විකිසෝර්ක්ස්]]''' <br> |
||
මූලාශ්ර |
|||
Texts<br> |
|||
[[File:Wikisource-logo.svg|25x25px|center|link={{fullurl:Wikisource:{{{s|Special:Search/{{{page|{{PAGENAME}}}}}}}}}}|alt=]] |
[[File:Wikisource-logo.svg|25x25px|center|link={{fullurl:Wikisource:{{{s|Special:Search/{{{page|{{PAGENAME}}}}}}}}}}|alt=]] |
||
</div> |
</div> |
||
}}{{#ifeq:{{{v}}}|no|| |
}}{{#ifeq:{{{v}}}|no|| |
||
<div style="float:left; margin:0 3px 3px 3px; font-size:91%;"> |
<div style="float:left; margin:0 3px 3px 3px; font-size:91%;"> |
||
'''[[Wikiversity:{{{v|Special:Search/{{{page|{{PAGENAME}}}}}}}}| |
'''[[Wikiversity:{{{v|Special:Search/{{{page|{{PAGENAME}}}}}}}}|විකිවර්සිටි]]'''<br> |
||
ඉගෙනුම් මූලාශ්ර |
|||
Learning resources<br> |
|||
[[File:Wikiversity-logo.svg|x25px|center|link={{fullurl:Wikiversity:{{{v|Special:Search/{{{page|{{PAGENAME}}}}}}}}}}|alt=]] |
[[File:Wikiversity-logo.svg|x25px|center|link={{fullurl:Wikiversity:{{{v|Special:Search/{{{page|{{PAGENAME}}}}}}}}}}|alt=]] |
||
</div> |
</div> |
||
}}{{#ifeq:{{{voy}}}|no|| |
}}{{#ifeq:{{{voy}}}|no|| |
||
<div style="float:left; margin:0 3px 3px 3px; font-size:91%;"> |
<div style="float:left; margin:0 3px 3px 3px; font-size:91%;"> |
||
'''[[Wikivoyage:{{{voy|Special:Search/{{{page|{{PAGENAME}}}}}}}}| |
'''[[Wikivoyage:{{{voy|Special:Search/{{{page|{{PAGENAME}}}}}}}}|විකිවොයේජ්]]''' <br> |
||
සංචාරක උපදේශනය<br> |
|||
Travel guides<br> |
|||
[[File:Wikivoyage-Logo-v3-icon.svg|25x25px|center|link={{fullurl:Wikivoyage:{{{voy|Special:Search/{{{page|{{PAGENAME}}}}}}}}}}|alt=]] |
[[File:Wikivoyage-Logo-v3-icon.svg|25x25px|center|link={{fullurl:Wikivoyage:{{{voy|Special:Search/{{{page|{{PAGENAME}}}}}}}}}}|alt=]] |
||
</div> |
</div> |
||
}}{{#ifeq:{{{wikt}}}|no|| |
}}{{#ifeq:{{{wikt}}}|no|| |
||
<div style="float:left; margin:0 3px 3px 3px; font-size:91%;"> |
<div style="float:left; margin:0 3px 3px 3px; font-size:91%;"> |
||
'''[[Wiktionary:{{{wikt|Special:Search/{{{page|{{PAGENAME}}}}}}}}| |
'''[[Wiktionary:{{{wikt|Special:Search/{{{page|{{PAGENAME}}}}}}}}|වික්ෂනරි]]''' <br> |
||
අර්ථ දැක්වීම්<br> |
|||
Definitions<br> |
|||
[[File:Wiktionary-logo-v2.svg|25x25px|center|link={{fullurl:Wiktionary:{{{wikt|Special:Search/{{{page|{{PAGENAME}}}}}}}}}}|alt=]] |
[[File:Wiktionary-logo-v2.svg|25x25px|center|link={{fullurl:Wiktionary:{{{wikt|Special:Search/{{{page|{{PAGENAME}}}}}}}}}}|alt=]] |
||
</div> |
</div> |
||
}}{{#ifeq:{{{data}}}|no|| |
}}{{#ifeq:{{{data}}}|no|| |
||
<div style="float:left; margin:0 3px 3px 3px; font-size:91%;"> |
<div style="float:left; margin:0 3px 3px 3px; font-size:91%;"> |
||
'''[[Wikidata:{{{data|Special:Search/{{{page|{{PAGENAME}}}}}}}}| |
'''[[Wikidata:{{{data|Special:Search/{{{page|{{PAGENAME}}}}}}}}|විකිඩේටා]]''' <br> |
||
දත්ත ගබඩාව<br> |
|||
Database<br> |
|||
[[File:Wikidata-logo.svg|x25px|center|link={{fullurl:Wikidata:{{{data|Special:Search/{{{page|{{PAGENAME}}}}}}}}}}|alt=]] |
[[File:Wikidata-logo.svg|x25px|center|link={{fullurl:Wikidata:{{{data|Special:Search/{{{page|{{PAGENAME}}}}}}}}}}|alt=]] |
||
</div> |
</div> |
||
}}{{#ifeq:{{{species}}}|no|| |
}}{{#ifeq:{{{species}}}|no|| |
||
<div style="float:left; margin:0 3px 3px 3px; font-size:91%;"> |
<div style="float:left; margin:0 3px 3px 3px; font-size:91%;"> |
||
'''[[Wikispecies:{{{species|Special:Search/{{{page|{{PAGENAME}}}}}}}}| |
'''[[Wikispecies:{{{species|Special:Search/{{{page|{{PAGENAME}}}}}}}}|විකිස්පීශීස්]]''' <br> |
||
Species<br> |
Species<br> |
||
[[File:Wikispecies-logo.svg|25x25px|center|link={{fullurl:Wikispecies:{{{species|Special:Search/{{{page|{{PAGENAME}}}}}}}}}}|alt=]] |
[[File:Wikispecies-logo.svg|25x25px|center|link={{fullurl:Wikispecies:{{{species|Special:Search/{{{page|{{PAGENAME}}}}}}}}}}|alt=]] |
11:08, 13 දෙසැම්බර් 2018 තෙක් සංශෝධනය
Please do not edit this page to suit your portal; it is used for all portals and should be left generic. If you wish, you may copy the contents to your own template. |
Usage
The template automatically uses the page name of the portal when placed on the page. To change this, use the |page=
field, if needed, to point to Interwikimedia links other than the one named on the portal page.
If you need to point to the Foo Interwiki, but your Portal is named Portal:Bar, then you would format the template as such:
{{Wikimedia for portals|page=Foo}}
Options
To prevent a specific project from displaying, use =no
after one or more of the following parameters, for example:
{{Wikimedia for portals | b = | page = | commons = | n = | q = | s = | v = | voy = | wikt = | data = | species = }} <!-- input 'no' to exclude projects -->
Examples
Produces:
- With page field
{{Wikimedia for portals|page=Foo}}
Produces:
See also
Main portal creation templates
- {{Basic portal start page}}—Used to create portal main pages.
- {{Random portal component}}—Used on the portal main page to randomly display articles from the portal sub-pages.
- {{Random portal component with nominate}}—Used on the portal main page to randomly display articles from the portal sub-pages, adding the option to nominate other Featured foo articles.
- {{Random subpage}}—Used on the portal main page to randomly display articles from the portal sub-pages. This template is best used for creating randomly populated Did you know... sections on the portal main page that are intended to include multiple Did you know... facts.
- {{Subpage}}—Used to output a box containing a link to subpage.
- {{Numbered subpages}}—Used to create article links on portal sub-pages with 50 links.
- {{Numbered subpages|max=25}}—As hereinbefore, but with 25 links.
- {{Numbered subpages|max=75}}—As hereinbefore, but with 75 links.
- {{Numbered subpages|max=100}}—As hereinbefore, but with 100 links.
- {{Random box-header subpage}}—Used to transclude a numbered subpage.
Main portal page formatting templates
- {{Box-header}}
- {{Box-header-blank}}
- {{Box-header-plain}}
- {{Box-header-round}}
- {{Box-header-square}}
- {{Box-header-watch}}
- {{Box-footer}}
Templates that configure links
- {{Portal}}
- {{Portal bar}}
- {{Portal-inline}}
- {{Portals}}
- {{Portal-image}}
- {{Portals browsebar}}
- {{Related portals}}
- {{Related portals2}}
- {{Wikimedia for portals}}
These templates are used to format the articles on the sub-pages
{{Selected X}}—Generic template for situations not listed hereafter.
- {{Selected article}}
- {{Selected biography}}
- {{Selected business}}
- {{Selected DYK}}
- {{Selected ingredient}}
- {{Selected location}}
- {{Selected picture}}
- {{Selected product}}
- {{Selected publication}}
- {{Selected quote}}
- {{Selected recipe}}
Related templates
TemplateData
Creates a table of interwiki links related to the current portal.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Wikibooks | b | Show Wikibooks in the template
| Boolean | optional |
Page | page | Base name to use for the interwiki links
| String | optional |
Commons | commons | Show Commons in the template
| Boolean | optional |
Wikinews | n | Show Wikinews in the template
| Boolean | optional |
Wikiquote | q | Show Wikiquote in the template
| Boolean | optional |
Wikisource | s | Show Wikisource in the template
| Boolean | optional |
Wikiversity | v | Show Wikiversity in the template
| Boolean | optional |
Wikivoyage | voy | Show Wikivoyage in the template
| Boolean | optional |
Wiktionary | wikt | Show Wiktionary in the template
| Boolean | optional |
Wikidata | data | Show Wikidata in the template
| Boolean | optional |
Wikispecies | species | Show Wikispecies in the template
| Boolean | optional |