Difference between revisions of "Wiki-sjablonen"
Jump to navigation
Jump to search
(Initial version.) |
m |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
A number of Wiki Templates are use on the AardRock Wiki. Primarily to ease authoring and improve: | |||
* | *simplicity; | ||
* | *consistency; | ||
*efficiency. | |||
=Templates for text markup= | |||
{| | {| | ||
! align="left" | Use: !! align="left" | To | ! align="left" | Use: !! align="left" | To: !! align="left" | For example: | ||
|- | |||
|<nowiki>{{button|</nowiki>''text''<nowiki>}}</nowiki> | |||
|Refer to a button anywhere in this Wiki. | |||
|{{button|Preview}} | |||
|- | |- | ||
|<nowiki>{{ | |<nowiki>{{checkbox|</nowiki>''name''<nowiki>}}</nowiki> | ||
| | |Refer to a checkbox in this Wiki. | ||
|{{checkbox|Watch this page}} | |||
|{{ | |||
|- | |- | ||
|<nowiki>{{NB}}</nowiki> | |<nowiki>{{NB}}</nowiki> | ||
|Get readers to pay special attention. | |Get readers to pay special attention. | ||
|{{NB}} Do you get it?! | |{{NB}} Do you get it?! | ||
|- | |- | ||
|<nowiki>{{textfield|</nowiki>''text''<nowiki>}}</nowiki> | |<nowiki>{{textfield|</nowiki>''text''<nowiki>}}</nowiki> | ||
|Refer to a textfield anywhere in this Wiki. | |Refer to a textfield anywhere in this Wiki. | ||
|{{textfield|Summary}} | |{{textfield|Summary}} | ||
|} | |} | ||
=Templates for special characters and symbols= | |||
{| | |||
! align="left" | Use: !! align="left" | To: !! align="left" | For example: | |||
|- | |||
|<nowiki>{{arrow: right}}</nowiki> | |||
|Insert a right arrow. | |||
|{{arrow: right}} | |||
|- | |||
|<nowiki>{{male sign}}</nowiki> | |||
|Insert a male sign. | |||
|{{Symbol:male sign}} | |||
|} | |||
=Templates for patterns and pattern languages= | |||
{| | |||
! align="left" | Use: !! align="left" | To: !! align="left" | For example: | |||
|- | |||
|<nowiki>{{pattern|</nowiki>''name''<nowiki>}}</nowiki> | |||
|Distinguish pattern names from ordinary links. | |||
|{{pattern|patroontaal}} | |||
|- | |||
|<nowiki>{{patroon:communicatie}}</nowiki> | |||
|Include the list of communication patterns. | |||
|{{arrow: right}} {{pattern|minestrone van patronen}}. | |||
|- | |||
|<nowiki>{{patroon:creativiteit}}</nowiki> | |||
|Include the list of creativity patterns. | |||
|{{arrow: right}} {{pattern|minestrone van patronen}}. | |||
|- | |||
|<nowiki>{{patroon:schatkamer}}</nowiki> | |||
|Include the list of treasure rooms. | |||
|{{arrow: right}} {{pattern|minestrone van patronen}}. | |||
|} | |||
=Templates for the Aloha project= | |||
{| | |||
! align="left" | Use: !! align="left" | To: !! align="left" | For example: | |||
|- | |||
|<nowiki>{{Aloha|</nowiki>''name''<nowiki>}}</nowiki> | |||
|Distinguish Aloha project names from ordinary links. | |||
|{{arrow: right}} {{Aloha|Reisgenoten}}. | |||
|- | |||
|<nowiki>{{aloha:kernkring}}</nowiki> | |||
|Include the list of all Aloha core members. | |||
|{{arrow: right}} {{Aloha|Reisgenoten}}. | |||
|- | |||
|<nowiki>{{aloha:vriendenkring}}</nowiki> | |||
|Include the list of all Aloha friends. | |||
|{{arrow: right}} {{Aloha|Reisgenoten}}. | |||
|} | |||
[[Category:wikitechniek]] |
Latest revision as of 21:21, 19 December 2006
A number of Wiki Templates are use on the AardRock Wiki. Primarily to ease authoring and improve:
- simplicity;
- consistency;
- efficiency.
Templates for text markup
Use: | To: | For example: |
---|---|---|
{{button|text}} | Refer to a button anywhere in this Wiki. | Preview |
{{checkbox|name}} | Refer to a checkbox in this Wiki. | Watch this page |
{{NB}} | Get readers to pay special attention. | NOTA BENE Do you get it?! |
{{textfield|text}} | Refer to a textfield anywhere in this Wiki. | Summary: |
Templates for special characters and symbols
Use: | To: | For example: |
---|---|---|
{{arrow: right}} | Insert a right arrow. | → |
{{male sign}} | Insert a male sign. | Template:Symbol:male sign |
Templates for patterns and pattern languages
Use: | To: | For example: |
---|---|---|
{{pattern|name}} | Distinguish pattern names from ordinary links. | patroontaal |
{{patroon:communicatie}} | Include the list of communication patterns. | → minestrone van patronen. |
{{patroon:creativiteit}} | Include the list of creativity patterns. | → minestrone van patronen. |
{{patroon:schatkamer}} | Include the list of treasure rooms. | → minestrone van patronen. |
Templates for the Aloha project
Use: | To: | For example: |
---|---|---|
{{Aloha|name}} | Distinguish Aloha project names from ordinary links. | → Aloha:Reisgenoten. |
{{aloha:kernkring}} | Include the list of all Aloha core members. | → Aloha:Reisgenoten. |
{{aloha:vriendenkring}} | Include the list of all Aloha friends. | → Aloha:Reisgenoten. |