Jump to content

Template:Person: Difference between revisions

From Joepedia
Created page with "<span style="display: inline-flex; gap: 0.35em; align-items: center;">{{#if:{{AvatarFor|{{{1}}}}}|<span class="inline-img circular">{{AvatarFor|{{{1}}}}}</span>}}[[{{{1}}}]]</span><noinclude> == Example == E.g: <nowiki>{{{{Person|Joseph Anderson}}</nowiki> {{Person|Joseph Anderson}} == Template Data == <templatedata> { "params": { "1": { "aliases": [ "name" ], "label": "Name", "description": "The name of the person being referenced.", "type": "s..."
 
No edit summary
 
Line 1: Line 1:
<span style="display: inline-flex; gap: 0.35em; align-items: center;">{{#if:{{AvatarFor|{{{1}}}}}|<span class="inline-img circular">{{AvatarFor|{{{1}}}}}</span>}}[[{{{1}}}]]</span><noinclude>
<span style="display: inline-flex; gap: 0.35em; align-items: center;">{{#if:{{AvatarFor|{{{1}}}}}|<span class="inline-img circular">{{AvatarFor|{{{1}}}}}</span>}}{{DisplayName|{{{1}}}}}</span><noinclude>
== Example ==
== Example ==
E.g:  
E.g:  
  <nowiki>{{{{Person|Joseph Anderson}}</nowiki>
 
<code><nowiki>{{{{Person|Joseph Anderson}}</nowiki></code>
 
{{Person|Joseph Anderson}}
{{Person|Joseph Anderson}}
<code><nowiki>{{{{Person|epheoko}}</nowiki></code>
{{Person|Epheoko}}


== Template Data ==
== Template Data ==
Line 10: Line 16:
"params": {
"params": {
"1": {
"1": {
"aliases": [
"name"
],
"label": "Name",
"label": "Name",
"description": "The name of the person being referenced.",
"description": "The name of the page for the person being referenced.",
"type": "string",
"type": "wiki-page-name",
"required": true
"required": true
}
}

Latest revision as of 22:30, 6 March 2025

[[{{{1}}}|{{{1}}}]]

Example

E.g:

{{{{Person|Joseph Anderson}}

Joseph Anderson

{{{{Person|epheoko}}

epheoko

Template Data

Attribute something to someone.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Name1

The name of the page for the person being referenced.

Page namerequired