Manual:Plainlinks/ja

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:Plainlinks and the translation is 31% complete.

Other languages:
English • ‎italiano • ‎polski • ‎日本語

The plainlinks class removes the little arrow that would normally show up with an external link.

The MediaWiki CSS class plainlinks is one of several built in classes. It can be used when constructing internal links to special pages that are not otherwise possible.

An example of the use of the plainlinks class within a template would be the following:

<span class="plainlinks">[{{ fullurl: Special:Allpages |namespace={{{1|3}}} }} {{ ns: {{{1|3}}} }}]</span>

結果: User talk

or simply

<span class="plainlinks">http://www.mediawiki.org/w/index.php?title=Special:Allpages&namespace=3</span>

結果: http://www.mediawiki.org/w/index.php?title=Special:Allpages&namespace=3

or even

<span class="plainlinks">[http://www.mediawiki.org/w/index.php?title=Special:Allpages&namespace=3 リンクテキスト]</span>

結果: リンクテキスト

You could also adjust the css file with the correct internal link color #002bb8. Change in plainlinks a:

#bodyContent .plainlinks a {
	background: none !important;
	padding: 0 !important;
	color: #002bb8 !important;
}

注 注: This is a work-around for T13477 and T32883. External links pointing to the internal domain should be recognized as internal links by MediaWiki.