Help:Japanese/Editing
Customization
| This help page needs to be updated. Please help update this help page to reflect recent events or newly available information. Relevant discussion may be found on the talk page. (April 2017) |
Note: To create your own CSS modifications for the default monobook skin, create a page at:
User:YourUserName/monobook.css
containing the CSS code you want to use.
This template, Nihongo, defines the following CSS classes:
- t_nihongo_kanji
- t_nihongo_comma
- t_nihongo_romaji
- t_nihongo_norom
- t_nihongo_help
- t_nihongo_icon
Examples
| Desired effect | CSS |
|---|---|
| Use "Gothic" font for kanji |
.t_nihongo_kanji
{ font-family: Gothic; }
|
| Hide kanji: |
.t_nihongo_kanji
{ display: none; }
|
| Show a comma between kanji and romaji: |
.t_nihongo_comma
{ display: inline!important; }
|
| Change the color of romaji: |
.t_nihongo_romaji
{ color: blue; }
|
| Always hide romaji: |
.t_nihongo_romaji
{ display: none; }
|
| Hide the link to this page: |
.t_nihongo_help
{ display: none; }
|
| Always display romaji: |
.t_nihongo_norom
{ display: inline!important; }
|
Usage in articles
Syntax:
{{nihongo|English spelling|Japanese spelling|Romanization}}
All arguments are mandatory, however the final argument can be empty.
If no romanization is given the English spelling is taken to be the romanization, and it's not displayed by default.
If you want to use this template as the article title in an article lead, keep in mind that the bold markers (''') are wrapped around the entire template call, like this:
'''{{nihongo|Manga|漫画|}}''' is the
[[Japanese language|Japanese]] word
for [[comics]] and/or [[cartoons]] …
This will display as:
See also
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.