Articles by alphabetic order
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
 Ā Ī Ñ Ś Ū Ö Ō
1 2 3 4 5 6 7 8 9 0


User:VTao

From Chinese Buddhist Encyclopedia
Revision as of 19:19, 22 November 2015 by Adminos (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
[edit]

Insert this at the bottom of the page. {{SeeAtEnd|Other Article Name|Category:Some Category}} is available up to 20 titles/categories

=See Also=
{{SeeAtEnd|Other Article Name|Category:Some Category}}

==Articles containing word "Padma" in title==
<DPL>
redirects = include
namespace=
titlematch=%Padma%|%padma%|padma%|Padma%
</DPL>
<headertabs/>

Also before adding that you have to create a section first at the top of the page Example of all the article :

=Wikipedia=
Aricle with all the pictures and every thing

{{R}}
[http://www.sourcepage.com sorucepage]

=See Also=
{{SeeAtEnd|}}

==Articles containing word "Padma" in title==
<DPL>
redirects = include
namespace=
titlematch=%Padma%|%padma%|padma%|Padma%
</DPL>


<headertabs/>
[[Category:Some Category]]
[[Category:more cats]]

Breaks:

{{#dpl:
  |category = cat1 ¦ cat2
  |linksto  = {{{1}}}
}}

Use this in text editor with Regex:

\[\[(?>Wikipedia:.*?\||\w+\s\w+\||\w+\||\w+\s\w+\s\w+\||\w+\s\w+\s\w+\s\w+\|)|\[\[(?!Category:|File:)|(?<!Category:.*?|File:.*?)\]\]|{{Wiki\||{{BigTibetan\||(?<=Wiki\|.*?|BigTibetan\|.*?)}}

Linking to tabs

You can link to a tab, both from another page and from within that same page (and, within that same page, both from another tab and from outside the tab view). This is done using the {{#switchtablink}} parser function, which is called like this:

{{#switchtablink:Tab name|Link text|Page name}}

This will create a link to the tab with the name "Tab name", and the text of the link will read "Link text". If you want the link to a point to a tab on another page, you can optionally add the third parameter, "Page name".

Multibyte characters was well as formatting characters e.g. bold is not permitted if you want to link to tabs in any way.

Example

Some text above the tab view

= First section header =
This will be displayed on the first tab

{{#switchtablink:Second section header|Click here to go to the next tab...}}

= Second section header =
This will be displayed on the second tab

<headertabs/>
= Third section header =
This will be always displayed under the tab view
because it's below the <headertabs/> tag.

The header titles get automatically converted into tab titles.

Syntax

Parameters

Text

The first parameter displays the text in the #info bubble and should only contain inline HTML elements. There is limited support for wikitext formatting such as bold, italics and internal links. No paragraphs, tables, lists or any other block elements are allowed. One should also avoid using empty lines (because empty line will terminate one paragraph and start another one) and equal signs (see the tips section). Refraining from those guidelines could lead to incorrect HTML code and rendering (e. g. part of text after empty line could be rendered in the page, not in the bubble).

Icon

In case a second parameter is passed onto to #info, it will influences the display of the icon. If an incorrect parameter is used then the parameter will be silently ignored, and the default info icon will be displayed instead.

Allowed values are:

Icon Description Example
info A blue icon with question mark; default
test
note A orange icon with exclamation mark.
test
warning A yellow icon with exclamation mark.
test

Examples

Code Result Comment
Some inline text {{#info:Text to be shown in a bubble.}} Some inline text
Text to be shown in a bubble.
Click on the icon to see the bubble.
Telephone number{{#info:Please enter it in the format e.g. +49-30-55874265|note}} Telephone number
Please enter it in the format e.g. +49-30-45084940
2011-02-29 {{#info:Incorrect date.|warning}} 2011-02-29
Incorrect date.

Related tips

See also

  • Help:Tooltip ← General information about tooltips and their usage in conjunction with Semantic MediaWiki.

Rendering a single image

Syntax

The full syntax for displaying an image is:

[[File:filename.extension|options|caption]]

where options can be zero or more of the following, separated by pipes (|):

  • Format option: one of border and/or frameless, frame, thumb (or thumbnail);
    Controls how the rendered image is formatted and embedded in the rest of the page.
  • Resizing option: one of
    • {width}px — Resizes the image to fit within the given maximum width in pixels, without restricting its height;
    • x{height}px — Resizes the image to fit within the given maximum height in pixels, without restricting its width;
    • {width}x{height}px — Resizes the image to fit within the given width and height in pixels;
    • upright — Resizes an image to fit within reasonable dimensions, according to user preferences (suitable for images whose height is larger than width).
  • Note that the image will always retain its aspect ratio, and can only be reduced (not increased) in size unless it's in a scalable media type (bitmap images cannot be scaled up).
    The default maximum size depends on the format and the internal image dimensions (according to its media type).
  • Horizontal alignment option: one of left, right, center, none;
    Controls the horizontal alignment (and inline/block or floating styles) of the image within a text (no default value).
  • Vertical alignment option: one of baseline, sub, super, top, text-top, middle, bottom, text-bottom;
    Controls the vertical alignment of a non-floating inline image with the text before or after the image, and in the same block (the default vertical alignment is middle).
  • Link option: one of
    • link={target} — Allows to change the target (to an arbitrary page title, or URL) of the generated link, activable on the rendered image surface; e.g. [[File:Example.jpg|20px|link=http://www.wikipedia.org]] renders as Example.jpg (external link), or [[File:Example.jpg|20px|link=MediaWiki]] renders as Example.jpg (internal link).
    • link= (with an empty value) — Displays an image without any activable link; e.g. [[File:Example.jpg|20px|link=]] renders as Example.jpg.
      • ! If you set |link=| (empty), then no title will be rendered.

If a parameter does not match any of the other possibilities, it is assumed to be the caption text.

Caption text shows below the image in thumb and frame formats, or as tooltip text in any other format.

Caption text displayed in the thumb and frame formats may contain wiki links and other formatting.

MediaWiki extensions can add additional options.

If 'alt' is not specified and a caption is provided, the alternative text will be created automatically from the caption, stripped of formatting.

See Also

Help Section