Difference between revisions of "Help:Template"

From LDraw.org Wiki
Jump to navigation Jump to search
m
m
Line 12: Line 12:
 
|textcolor=black
 
|textcolor=black
 
|caption=Hello there!
 
|caption=Hello there!
|text=This is a message.}}</pre>
+
|text=This is a message.
 +
}}</pre>
 
|-
 
|-
 
|colspan="2"| {{MessageBox|bgcolor=darkgreen|ltbgcolor=lime|textcolor=black|caption=Hello there!|text=This is a message.}}<br /><br /><hr />
 
|colspan="2"| {{MessageBox|bgcolor=darkgreen|ltbgcolor=lime|textcolor=black|caption=Hello there!|text=This is a message.}}<br /><br /><hr />

Revision as of 20:04, 14 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.

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!