Template:PersonPic: Difference between revisions

From LDraw.org Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{merge|Template:User}}
{{merge|Template:Person}}
This template produces a user information box.
This template produces a user information box.


Line 5: Line 9:


* 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; padding: 8px; border-radius: 8px"
|-
|colspan="2" align="center"| [[{{{ImageSource|Image:User_Icon.png}}}|frameless]]
|-
|-
|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;
|style="text-align: right" |'''Username:'''
|&#91;{{{Username|}}}&#93;
|-
|-
|style="text-align: right" |'''Age''':
|style="text-align: right" |'''Age''':
Line 25: Line 43:
|style="text-align: right" |'''Role(s)''':
|style="text-align: right" |'''Role(s)''':
|{{{Roles|}}}
|{{{Roles|}}}
|-
|colspan="2" align="center"| [[{{{ImageSource|User_Icon.png}}}|frameless]]
|-
|-
|}
|}
</includeonly>
</includeonly>

Latest revision as of 21:22, 4 April 2018


The contents of this page overlaps with
Template:User

It is suggested to merge these pages into one.


The contents of this page overlaps with
Template:Person

It is suggested to merge these pages into one.


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
Username: [Emmet]
Age: unknown
Country: Legoland
Role(s): Minifig