J u m p t o c o n t e n t
M a i n m e n u
M a i n m e n u
N a v i g a t i o n
● M a i n p a g e
● C o n t e n t s
● C u r r e n t e v e n t s
● R a n d o m a r t i c l e
● A b o u t W i k i p e d i a
● C o n t a c t u s
● D o n a t e
C o n t r i b u t e
● H e l p
● L e a r n t o e d i t
● C o m m u n i t y p o r t a l
● R e c e n t c h a n g e s
● U p l o a d f i l e
S e a r c h
Search
A p p e a r a n c e
● C r e a t e a c c o u n t
● L o g i n
P e r s o n a l t o o l s
● C r e a t e a c c o u n t
● L o g i n
P a g e s f o r l o g g e d o u t e d i t o r s l e a r n m o r e
● C o n t r i b u t i o n s
● T a l k
( T o p )
1
D i f f e r e n c e s b e t w e e n { { P o r t a l } } a n d { { P o r t a l - i n l i n e } }
2
U s a g e
3
P a r a m e t e r s
4
E x a m p l e s
T o g g l e E x a m p l e s s u b s e c t i o n
4 . 1
U s i n g o n l y t h e n a m e p a r a m e t e r
4 . 2
U s i n g t h e n a m e a n d s i z e p a r a m e t e r s
4 . 3
U s i n g t h e n a m e a n d t e x t p a r a m e t e r s
4 . 4
U s i n g t h e n a m e a n d s h o r t p a r a m e t e r s
4 . 5
R i g h t a l i g n e l e m e n t
4 . 6
L i s t s
4 . 6 . 1
R i g h t a l i g n e l e m e n t
5
I m a g e
6
E r r o r t r a c k i n g
7
T e m p l a t e D a t a
8
S e e a l s o
T o g g l e t h e t a b l e o f c o n t e n t s
T e m p l a t e : P o r t a l - i n l i n e
5 5 l a n g u a g e s
● ا ل ع ر ب ي ة
● A z ə r b a y c a n c a
● ت ۆ ر ک ج ه
● B a s a B a l i
● ব া ং ল া
● 閩 南 語 / B â n - l â m - g ú
● Б а ш ҡ о р т с а
● Б е л а р у с к а я ( т а р а ш к е в і ц а )
● B i k o l C e n t r a l
● B o s a n s k i
● Б у р я а д
● C e b u a n o
● D a n s k
● Ε λ λ η ν ι κ ά
● ف ا ر س ی
● 한 국 어
● Հ ա յ ե ր ե ն
● B a h a s a I n d o n e s i a
● J a w a
● K u r d î
● म ै थ ि ल ी
● М а к е д о н с к и
● म र ा ठ ी
● B a h a s a M e l a y u
● М о н г о л
● မ ြ န ် မ ာ ဘ ာ သ ာ
● न े प ा ल ी
● 日 本 語
● Н о х ч и й н
● O ʻ z b e k c h a / ў з б е к ч а
● ပ အ ိ ု ဝ ် ႏ ဘ ာ ႏ သ ာ ႏ
● ភ ា ស ា ខ ្ ម ែ រ
● P o r t u g u ê s
● R o m â n ă
● Р у с с к и й
● S c o t s
● ස ි ං හ ල
● S i m p l e E n g l i s h
● س ن ڌ ي
● S l o v e n š č i n a
● ک و ر د ی
● С р п с к и / s r p s k i
● S v e n s k a
● T a g a l o g
● த ம ி ழ ்
● ၽ ႃ ႇ သ ႃ ႇ တ ႆ း
● త ె ల ు గ ు
● ไ ท ย
● Т о ҷ и к ӣ
● У к р а ї н с ь к а
● ا ر د و
● T i ế n g V i ệ t
● 吴 语
● 粵 語
● 中 文
E d i t l i n k s
● T e m p l a t e
● T a l k
E n g l i s h
● R e a d
● V i e w s o u r c e
● V i e w h i s t o r y
T o o l s
T o o l s
A c t i o n s
● R e a d
● V i e w s o u r c e
● V i e w h i s t o r y
G e n e r a l
● W h a t l i n k s h e r e
● R e l a t e d c h a n g e s
● U p l o a d f i l e
● S p e c i a l p a g e s
● P e r m a n e n t l i n k
● P a g e i n f o r m a t i o n
● G e t s h o r t e n e d U R L
● D o w n l o a d Q R c o d e
● W i k i d a t a i t e m
P r i n t / e x p o r t
● D o w n l o a d a s P D F
● P r i n t a b l e v e r s i o n
A p p e a r a n c e
F r o m W i k i p e d i a , t h e f r e e e n c y c l o p e d i a
( R e d i r e c t e d f r o m T e m p l a t e : P o r t a l i n l i n e )
This template is used on approximately 232,000 pages . To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage . The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them.
This template uses Lua :
Template:Portal-inline is used to produce an inline link to a portal that is supported by print and mobile versions of Wikipedia pages.
Differences between {{Portal}} and {{Portal-inline}}
{{ Portal }} creates a list of one or more portal links within an accessible navigation region. It is hidden in printer and mobile view. This is useful, for example, in an article's "See also" section.
{{ Portal-inline }} creates one portal link with no accessibility context. It is visible in printer and mobile view. This is useful, for example, if making a mid-sentence link on a talk page, or if there is an alternative list structure in a "See also" section.
Usage
{{Portal-inline|<name> }}
{{Portal-inline|<name> [|size= <size> ] [|text= <text> ] [|short= <anything> ]}}
Everything inside square brackets is optional, do not include the square brackets.
Parameters
1
— required; The first unnamed/positional parameter is the name of the portal.
size
— optional; Specify |size=tiny
to show a 16×16 image instead of the usual size.
text
— optional; Specify |text=(name)
for a different associated name to appear.
short
— optional; Specify |short=anything
to remove portal from the output.
redlinks
— optional; Specify |redlinks=yes
to show the portal if it is redlinked.
Examples
Using only the name parameter
Using the name and size parameters
Using the name and text parameters
Code: {{Portal-inline|Canada|text=Canadian portal}}
Produces: Canadian portal
Using the name and short parameters
Code: {{Portal-inline|Canada|short=yes}}
Produces: Canada
Right align element
See: {{Portal |border=no}}
Lists
In an article's "See also" section, to generate an accessible list of portal links, use {{ portal }} . If a different list structure is preferred, prefix each {{ portal-inline }} with an asterisk.
* {{Portal-inline|Canada}}
* {{Portal-inline|Feminism}}
Right align element
See {{Portal |border=no}}
Image
The portal image name is found using Module:Portal . Please see Module:Portal#Image for instructions on how to add, update, or remove an image.
Error tracking
If the template is used incorrectly, the page will be added to a tracking category.
The tracking categories are not applied if any of the following is true:
Tracking is specially disabled for that usage. This is done by setting the optional parameter |tracking=
to any the following values: no
, n
, false
the template is used on a page in any of these namespaces: Talk, User, User talk, Wikipedia talk, File talk, Template talk, Category talk, Portal talk, Draft, Draft talk, Module talk
The title page on which the template is used includes any of the following case-insensitive strings: "/archive", "/doc", "/test"
TemplateData
Template parameters[ Edit template data ]
This template prefers inline formatting of parameters.
Parameter Description Type Status 1 1
Name of the portal to link to.
Example
Science
Page name required Size size
Set to "tiny" to show a 16×16 image instead of the usual size.
Example
tiny
String optional Text text
Show a different name instead of the portal name.
Example
Portal of science
String optional Short short
Set to any value to exclude "portal" from the output.
Example
yes
Boolean optional Red links redlinks
Set to "yes" to show the portal even if it is redlinked.
Example
yes
Boolean optional
See also
talk
edit
Portal content templates
To display "selected content" on the portal main page
To organize "selected content" on subpages
{{ Numbered subpages }} —outputs an automatic index, transcluding numbered subpages.
{{ Portal subpage }} —outputs a box linking to and transcluding a single subpage.
{{ Portal subpage inline }} —outputs an unordered list item linking to and transcluding a single subpage.
Main portal page formatting templates
{{ Box-header-plain }}
{{ Box-header-round }}
{{ Box-header-square }}
{{ Box-header-watch }}
{{ Box-footer }}
Templates that configure links
{{ Portal bar }}
{{ Portal-inline }}
{{ Pbox }}
{{ Portals }}
{{ Portals browsebar }}
{{ Related portals }}
{{ Wikimedia for portals }}
Selected page templates, used on subpages of older portals
{{ Selected biography }}
{{ Selected business }}
{{ Selected DYK }}
{{ Selected ingredient }}
{{ Selected location }}
{{ Selected picture }}
{{ Selected product }}
{{ Selected publication }}
{{ Selected quote }}
{{ Selected recipe }}
{{ Selected X }}
Related templates
R e t r i e v e d f r o m " https://en.wikipedia.org/w/index.php?title=Template:Portal-inline&oldid=1073025848 "
C a t e g o r i e s :
● L u a - b a s e d t e m p l a t e s
● I n t e r n a l l i n k t e m p l a t e s
● P o r t a l n a m e s p a c e t e m p l a t e s
● W i k i p e d i a P o r t a l n a v f l a g s
H i d d e n c a t e g o r i e s :
● W i k i p e d i a t e m p l a t e - p r o t e c t e d t e m p l a t e s
● T e m p l a t e s u s i n g T e m p l a t e D a t a
● T h i s p a g e w a s l a s t e d i t e d o n 2 0 F e b r u a r y 2 0 2 2 , a t 1 7 : 1 0 ( U T C ) .
● T e x t i s a v a i l a b l e u n d e r t h e C r e a t i v e C o m m o n s A t t r i b u t i o n - S h a r e A l i k e L i c e n s e 4 . 0 ;
a d d i t i o n a l t e r m s m a y a p p l y . B y u s i n g t h i s s i t e , y o u a g r e e t o t h e T e r m s o f U s e a n d P r i v a c y P o l i c y . W i k i p e d i a ® i s a r e g i s t e r e d t r a d e m a r k o f t h e W i k i m e d i a F o u n d a t i o n , I n c . , a n o n - p r o f i t o r g a n i z a t i o n .
● P r i v a c y p o l i c y
● A b o u t W i k i p e d i a
● D i s c l a i m e r s
● C o n t a c t W i k i p e d i a
● C o d e o f C o n d u c t
● D e v e l o p e r s
● S t a t i s t i c s
● C o o k i e s t a t e m e n t
● M o b i l e v i e w