Difference between revisions of "Help:Wiki markup"

From Wordfast Wiki
Jump to: navigation, search
(fixed link)
 
 
Line 1: Line 1:
To make sure this wiki looks nice and cohesive, use wiki markup and templates.
+
To make sure this wiki looks nice and cohesive, use wiki markup and templates. Make sure articles are linked to one another, so anyone interested in a topic could easily follow the link to read more.
  
== Wiki markup ==
+
==Wiki markup==
 
If you are not familiar with the '''wiki markup''', see the brief [http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet Wikipedia Cheatsheet] or the longer article on [http://en.wikipedia.org/wiki/Help:Wiki_markup ''Wiki markup'' at Wikipedia].
 
If you are not familiar with the '''wiki markup''', see the brief [http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet Wikipedia Cheatsheet] or the longer article on [http://en.wikipedia.org/wiki/Help:Wiki_markup ''Wiki markup'' at Wikipedia].
  
== Templates ==
+
==Categories==
 +
 
 +
Articles should be [https://www.mediawiki.org/wiki/Help:Categories marked with categories]. You can see the list of current [[Special:Categories|categories]] in this wiki.
 +
 
 +
==Templates==
 
'''Templates''' help use specific formatting repeatedly. They can be created in this wiki as necessary.
 
'''Templates''' help use specific formatting repeatedly. They can be created in this wiki as necessary.
  
 
To ensure cohesive style in Wordfast Wiki, use the following templates:
 
To ensure cohesive style in Wordfast Wiki, use the following templates:
  
=== Menu ===
+
===Menu===
 
To enter names of '''menus''', '''tabs''', or '''dialogues''', use the {{Menu|''Menu'' template}}.
 
To enter names of '''menus''', '''tabs''', or '''dialogues''', use the {{Menu|''Menu'' template}}.
  
Line 20: Line 24:
 
:<nowiki>Go to {{Menu|Tools}} > {{Menu|Options}} in MS Word.</nowiki>
 
:<nowiki>Go to {{Menu|Tools}} > {{Menu|Options}} in MS Word.</nowiki>
  
=== Key ===
+
===Key===
 
To enter names of '''keyboard keys''', use the {{Key|''Key'' template}}.
 
To enter names of '''keyboard keys''', use the {{Key|''Key'' template}}.
  
Line 30: Line 34:
  
 
:<nowiki>Press {{Key|Alt}}+{{Key|Down}} on your keyboard.</nowiki>
 
:<nowiki>Press {{Key|Alt}}+{{Key|Down}} on your keyboard.</nowiki>
 
=== ImgBox ===
 
{{ImgBox|{{#Widget:YouTube|id=QH2-TGUlwu4|width=320|height=180}}|Nyan Cat Song}}Use this template to insert '''YouTube videos'''.
 
 
For example, the [http://en.wikipedia.org/wiki/Nyan_Cat Nyan Cat] video on this page is entered using the following text:
 
 
:<nowiki>{{ImgBox|{{#Widget:YouTube|id=QH2-TGUlwu4|width=320|height=180}}|Nyan Cat Song}}</nowiki>
 
 
The <nowiki>{{#Widget:YouTube|id=QH2-TGUlwu4|width=320|height=180}}</nowiki> section adds the video and it is wrapped in the ImgBox template.
 
 
To enter your desired video, use the proper '''id'''. You will find it in the YouTube link to that video. For example, the link to share the ''Nyan Cat Song'' is http://youtu.be/QH2-TGUlwu4, hence the '''id''' is QH2-TGUlwu4.
 
 
You can also edit the width and height parameters to adjust the size of the video on the resulting page.
 
 
The last piece of text in the whole template code, reading ''Nyan Cat Song'' in my example, is the caption shown at the bottom of the video box.
 
 
Note: The ImgBox template could also be used to enter '''images'''. But it is better to use '''wiki markup''' to do that (see above).
 

Latest revision as of 15:36, 18 April 2021

To make sure this wiki looks nice and cohesive, use wiki markup and templates. Make sure articles are linked to one another, so anyone interested in a topic could easily follow the link to read more.

Wiki markup

If you are not familiar with the wiki markup, see the brief Wikipedia Cheatsheet or the longer article on Wiki markup at Wikipedia.

Categories

Articles should be marked with categories. You can see the list of current categories in this wiki.

Templates

Templates help use specific formatting repeatedly. They can be created in this wiki as necessary.

To ensure cohesive style in Wordfast Wiki, use the following templates:

Menu

To enter names of menus, tabs, or dialogues, use the Menu template.

For example, the following instruction:

Go to Tools > Options in MS Word.

is entered as follows in the wiki Edit window:

Go to {{Menu|Tools}} > {{Menu|Options}} in MS Word.

Key

To enter names of keyboard keys, use the Key template.

For example, the following instruction:

Press Alt+Down on your keyboard.

is entered as follows in the wiki Edit window:

Press {{Key|Alt}}+{{Key|Down}} on your keyboard.