Help:Template: Difference between revisions

From LDraw.org Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(8 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 32: Line 47:
|ltbgcolor=lime
|ltbgcolor=lime
|textcolor=black
|textcolor=black
|image=[[Image:Logoshort.png|64px]]
|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:Logoshort.png|64px]]|text=This is a message.}}<br /><br /><hr />
|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'''
|<Pre>{{Stub}}</pre>
|<Pre>{{Stub}}</pre>
|-
|-
|colspan="2"| {{Stub}}
|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.
}}
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:ImageMessageBox.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

See also

Wikipedia's Help:Template