Template:PersonPic: Difference between revisions

From LDraw.org Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:


* Name (mandatory)
* Name (mandatory)
* Username (mandatory)
* LDraw.org Username (mandatory)
* Age (optional)
* Age (optional)
* Country (optional)
* Country (optional)
* Role(s) (optional)
* Role(s) (optional)
* ImageSource (optional)
* ImageSource (optional)
== Example ==
Writing
<code><nowiki>{{PersonPic|Name=Emmet from the Brickshelf|Username=Emmet|Age=unknown|Country=Legoland|Roles=Minifig}}</nowiki></code>
yields
<br clear=all>
{{PersonPic|Name=Emmet from the Brickshelf|Username=Emmet|Age=unknown|Country=Legoland|Roles=Minifig}}
</noinclude><includeonly>
</noinclude><includeonly>
{| style="text-align: left; width: 200px; float:right; background: #C3D7FA; border: solid 1px; border-radius: 8px"
{| style="text-align: left; width: 200px; float:right; background: #C3D7FA; border: solid 1px; border-radius: 8px"
Line 15: Line 26:
|colspan="2" style="text-align: center" |'''{{{Name|}}}'''
|colspan="2" style="text-align: center" |'''{{{Name|}}}'''
|-
|-
|colspan="2" style="text-align: center; font-size: 90%" |&#91;{{{Username|}}}&#93;
|colspan="2" style="text-align: center; font-size: 90%" |LDraw.org username: &#91;{{{Username|}}}&#93;
|-
|-
|style="text-align: right" |'''Age''':
|style="text-align: right" |'''Age''':

Revision as of 12:06, 2 April 2018

This template produces a user information box.

Parameters

  • Name (mandatory)
  • LDraw.org Username (mandatory)
  • Age (optional)
  • Country (optional)
  • Role(s) (optional)
  • ImageSource (optional)

Example

Writing

{{PersonPic|Name=Emmet from the Brickshelf|Username=Emmet|Age=unknown|Country=Legoland|Roles=Minifig}}

yields

Emmet from the Brickshelf
LDraw.org username: [Emmet]
Age: unknown
Country: Legoland
Role(s): Minifig