Help:Template: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
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. | 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. | ||
__TOC__ | __TOC__ | ||
==General use== | |||
{| style="background-color: #eee; border: 1px #08A dashed;" cellpadding="10" | |||
|- | |||
!Template | |||
!Example | |||
|- | |||
|'''c'''<br /><small>c as in '''c'''oloured</small> | |||
|<nowiki>{{c|green|This is green text}}</nowiki> | |||
|- | |||
|colspan="2"| {{c|green|This is green text}} | |||
|- | |||
|} | |||
==Message boxes== | ==Message boxes== | ||
Line 34: | Line 47: | ||
|ltbgcolor=lime | |ltbgcolor=lime | ||
|textcolor=black | |textcolor=black | ||
|image=[[Image: | |image=[[Image:ImageMessageBox.png|64px]] | ||
|caption=Hello there! | |caption=Hello there! | ||
|text=This is a message. | |text=This is a message. | ||
}}</pre> | }}</pre> | ||
|- | |- | ||
|colspan="2"| {{ImageMessageBox|bgcolor=darkgreen|ltbgcolor=lime|textcolor=black|caption=Hello there!|image=[[Image: | |colspan="2"| {{ImageMessageBox|bgcolor=darkgreen|ltbgcolor=lime|textcolor=black|caption=Hello there!|image=[[Image:ImageMessageBox.png|64px]]|text=This is a message.}}<br /><br /><hr /> | ||
|- | |- | ||
|'''Stub''' | |'''Stub''' | ||
Line 78: | Line 91: | ||
|- | |- | ||
|} | |} | ||
==See also== | |||
Wikipedia's {{wp|Help:Template|Help:Template}} | |||
[[category:help]] | |||
[[category:templates| ]] |
Latest revision as of 09:05, 23 February 2019
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. }} | ||||
| |||||
NoticeBox | {{NoticeBox|Please do not eat all the doughnuts.}} | ||||
| |||||
ImportantNoticeBox | {{ImportantNoticeBox|Do not even think about vandalizing this Wiki!}} | ||||
| |||||
ImageMessageBox | {{ImageMessageBox |bgcolor=darkgreen |ltbgcolor=lime |textcolor=black |image=[[Image:ImageMessageBox.png|64px]] |caption=Hello there! |text=This is a message. }} | ||||
| |||||
Stub | {{Stub}} | ||||
| |||||
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. | ||||
| |||||
NeedsWorkNotifier | {{NeedsWorkNotifier}} | ||||
|
Infoboxes
Template | Example | |||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Software | {{Software |developer=Mr. X |function=CAD |version=1.3.37 |platform=Windows, Linux, Mac |website=[http://example.com/ example.com] }} | |||||||||||||||||||||||
| ||||||||||||||||||||||||
See also
Wikipedia's Help:Template