Template:Flashcardt/doc

From WikiEducator
Jump to: navigation, search

Documentation for Template:flashcardt - a TESTING AREA for : Template:flashcard


Syntax

{{flashcardt
  |front = <word or phrase for front of the card>
  |front sound = <name of media (sound) file> 
  |back = <word or phrase on the front translated>
  |back sound = <name of media (sound) file for the foreign pronunciation> 
  |simplified = <simplified character (if applicable) or simple explanation> 
  |pinyin = <pinyin phonetic - only relevant for Mandarin Chinese>
  |wade-giles = <Wade-Giles phonetic - only relevant for Mandarin Chinese>
  |yale = <Yale phonetic - only relevant for Mandarin Chinese>
  |bopomofo = <bopomofo phonetic - only relevant for Mandarin Chinese>
  |radical = <radical character>
  |number of strokes = 7
  |stroke order = <animated image file name>
  |notes = <notes on the flashcard to explain meaning etc. >
  |theme = <theme name> 
}}


Examples

no parameters:

front only

only front sound:


 {{flashcardt
  |front sound = some .ogg
  |back = Bon jour
  |hint = happy greeting
  |notes = A greeting
  }}

gives:


all basics (front, front image, back, hint and notes):


 {{flashcardt
  |front = Good day
  |front image = Fast_wolkenlos.gif
  |back = Bon jour
  |hint = happy greeting
  |notes = A greeting
  }}

gives:


No front (only front image etc.):


 {{flashcardt
  |front image = Fast_wolkenlos.gif
  |back = Bon jour
  |hint = happy greeting
  |notes = A greeting
  }}

gives:


No front image (only front):


 {{flashcardt
  |front = Hi :-)
  |back = Bon jour
  |hint = happy greeting
  |notes = A greeting
  }}

gives:


No front or front image (only back):


 {{flashcardt
  |back = Bon jour
  |hint = happy greeting
  |notes = A greeting
  }}

gives:

Mandarin

Using all the parameters listed below:


 {{flashcardt
 |front=你
 |front sound= Zh-n%C7%90.ogg
 |hint = not me
 |back=You
 |back sound=En-us-you.ogg
 |simplified= simplified character (if exists) goes here
 |pinyin=Ni3
 |wade-giles=ni<sup>3</sup>
 |yale=ni-3
 |bopomofo=ㄋㄧˇ
 |radical=人
 |number of strokes = 7
 |stroke order=你-order.gif
 |notes = e.g. clarify if there is ambiguity ...
 }}

gives the following (try it - click on 'show'):

using themes:


 {{flashcardt
 |theme=blues
 |front=你
 |front sound= Zh-n%C7%90.ogg
 |hint = not me
 |back=You
 |back sound=En-us-you.ogg
 |simplified= simplified character (if exists) goes here
 |pinyin=Ni3
 |wade-giles=ni<sup>3</sup>
 |yale=ni-3
 |bopomofo=ㄋㄧˇ
 |radical=人
 |number of strokes = 7
 |stroke order=你-order.gif
 |notes = e.g. clarify if there is ambiguity ...
 }}

 {{flashcardt
 |theme=goldy
 |front=你
 |front sound= Zh-n%C7%90.ogg
 |hint = not me
 |back=You
 |back sound=En-us-you.ogg
 |simplified= simplified character (if exists) goes here
 |pinyin=Ni3
 |wade-giles=ni<sup>3</sup>
 |yale=ni-3
 |bopomofo=ㄋㄧˇ
 |radical=人
 |number of strokes = 7
 |stroke order=你-order.gif
 |notes = e.g. clarify if there is ambiguity ...
 }}

Japanese

Please improve:

{{flashcardt
|theme = sandy
|front = マージャン
|front sound = En-us-you.ogg
|hint = please add hint?
|back = mahjong
|back sound =E n-us-you.ogg
|romaji = mājan
|kanji = 麻雀
|romanisation = májiàng
|notes = Mahjong is a board game.
Please correct sound files etc. 
and add a suitable hint to this flash card. Thanks :-)
}}


Suggestions

  • Extend to include:
    • front image = ...
    • add clever functionality to handle this. For example,
      • if "card front = image only" then exclude the front text
      • if "card front = <one of the other parameters>" then make it so, etc.
    • ...
  • Multilingual extension - e.g. front shows a word and selection of languages to pick for translation, etc.
  • Fix the examples on this page e.g. supply correct sound files.
  • ... please add ...

Features

Includes various options for learning specific languages. Use the ones you need:

  • General:
    • front in base language (English in this case)
    • traditional and simplified characters
    • phonetic representations
    • explanation (notes)
    • radical
    • stroke count
    • stroke order
    • example sentence(s) - can be placed in notes
    • theme
    • hint - if defines the hint text appears if mouse hovered over the front which will have a dotted underline.
  • Example parameters:
    • traditional = ... (Chinese)
    • simplified = ... (Chinese)
    • kanji = ... (Japanese)
    • hiragana = ... (Japanese)
    • katakana = ... (Japanese)
    • rōmaji = ... (Japanese)
  • Extendable.