Help:Template: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
(12 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__ | |||
==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== | |||
{| style="background-color: #eee; border: 1px #08A dashed;" cellpadding="10" | {| style="background-color: #eee; border: 1px #08A dashed;" cellpadding="10" | ||
|- | |- | ||
Line 12: | Line 27: | ||
|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 /> | ||
Line 21: | Line 37: | ||
|colspan="2"| {{NoticeBox|Please do not eat all the doughnuts.}}<br /><br /><hr /> | |colspan="2"| {{NoticeBox|Please do not eat all the doughnuts.}}<br /><br /><hr /> | ||
|- | |- | ||
|''' | |'''ImportantNoticeBox''' | ||
|<pre>{{ImportantNoticeBox|Do not even think about vandalizing this Wiki!}}</pre> | |<pre>{{ImportantNoticeBox|Do not even think about vandalizing this Wiki!}}</pre> | ||
|- | |- | ||
|colspan="2"| {{ImportantNoticeBox|Do not even think about vandalizing this Wiki!}} | |colspan="2"| {{ImportantNoticeBox|Do not even think about vandalizing this Wiki!}}<br /><br /><hr /> | ||
|- | |||
|'''ImageMessageBox''' | |||
|<pre>{{ImageMessageBox | |||
|bgcolor=darkgreen | |||
|ltbgcolor=lime | |||
|textcolor=black | |||
|image=[[Image:ImageMessageBox.png|64px]] | |||
|caption=Hello there! | |||
|text=This is a message. | |||
}}</pre> | |||
|- | |||
|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''' | |||
|<Pre>{{Stub}}</pre> | |||
|- | |||
|colspan="2"| {{Stub}}<br /><br /><hr /> | |||
|- | |||
|'''NeedsWork''' | |||
|<pre>{{NeedsWork|T}}</pre><small>Note that the parameter is the first letter of the article. It is T here because T is the first letter of Templates.<br />Note also that this template is typically placed on a talk page and a '''NeedsWorkNotifier''' is placed on the page instead.</small> | |||
|- | |||
|colspan="2"| {{NeedsWork|T}}<br /><br /><hr /> | |||
|- | |||
|'''NeedsWorkNotifier''' | |||
|<Pre>{{NeedsWorkNotifier}}</pre> | |||
|- | |||
|colspan="2"| {{NeedsWorkNotifier}} | |||
|- | |||
|} | |} | ||
==Infoboxes== | |||
{| style="background-color: #eee; border: 1px #08A dashed;" cellpadding="10" | |||
|- | |||
!Template | |||
!Example | |||
|- | |||
|'''Software''' | |||
|<pre>{{Software | |||
|developer=Mr. X | |||
|function=CAD | |||
|version=1.3.37 | |||
|platform=Windows, Linux, Mac | |||
|website=[http://example.com/ example.com] | |||
}}</pre> | |||
|- | |||
|colspan="2"| {{Software|developer=Mr. X|function=CAD|version=1.3.37|platform=Windows, Linux, Mac|website=[http://example.com/ example.com]}} | |||
|- | |||
|colspan="2"|<hr /> | |||
|- | |||
|} | |||
==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