Help:Template: Difference between revisions

From LDraw.org Wiki
Jump to navigation Jump to search
No edit summary
Line 8: Line 8:
!Example
!Example
|-
|-
|'''bc''' and '''ec'''<br /><small>bc: '''b'''egin '''c'''oloured, ec: '''e'''nd '''c'''oloured</small>
|'''c'''<br /><small>c as in '''c'''oloured</small>
|<nowiki>{{bc|green}}This is green text{{ec}}</nowiki>
|<nowiki>{{c|green|This is green text}}</nowiki>
|-
|-
|colspan="2"| {{bc|green}}This is green text{{ec}}
|colspan="2"| {{c|green|This is green text}}
|-
|-
|}
|}

Revision as of 20:24, 15 March 2010

There are templates made to make editing the LDraw.org Wiki easier. More templates are made as they are come up with, so keep an eye on this page.

General use

Template Example
c
c as in coloured
{{c|green|This is green text}}
This is green text

Message boxes

Template Example
MessageBox
{{MessageBox
|bgcolor=darkgreen
|ltbgcolor=lime
|textcolor=black
|caption=Hello there!
|text=This is a message.
}}
Hello there!
  This is a message.



NoticeBox
{{NoticeBox|Please do not eat all the doughnuts.}}
Notice
  Please do not eat all the doughnuts.



ImportantNoticeBox
{{ImportantNoticeBox|Do not even think about vandalizing this Wiki!}}
Important Notice
  Do not even think about vandalizing this Wiki!



ImageMessageBox
{{ImageMessageBox
|bgcolor=darkgreen
|ltbgcolor=lime
|textcolor=black
|image=[[Image:Logoshort.png|64px]]
|caption=Hello there!
|text=This is a message.
}}
Hello there!
This is a message.



Stub
{{Stub}}
Stub
This article is a stub. You can help the LDraw.org Wiki Wiki by expanding it.




NeedsWork
{{NeedsWork|T}}
Note that the parameter is the first letter of the article. It is T here because T is the first letter of Templates.
Note also that this template is typically placed on a talk page and a NeedsWorkNotifier is placed on the page instead.
Needs Work
This page needs work in order to be high quality. You can help LDraw.org Wiki by improving it.



NeedsWorkNotifier
{{NeedsWorkNotifier}}
This page needs work.
Please see the discussion page for details.

Infoboxes

Template Example
Software
{{Software
|developer=Mr. X
|function=CAD
|version=1.3.37
|platform=Windows, Linux, Mac
|website=[http://example.com/ example.com]
}}
Template
Developer(s) Mr. X
Initial release unknown
Current version 1.3.37
Development status unknown
Operating system Windows, Linux, Mac
Available in unknown
Type CAD
License unknown
Website example.com
Software infobox