Template:BlogAuthor: Difference between revisions

From Portland NET Wiki
Jump to navigation Jump to search
experiment with horizontal group for roles
remove article list because it showed up in blog articles themselves
 
(9 intermediate revisions by the same user not shown)
Line 4: Line 4:
   <data source="name">
   <data source="name">
     <label>Author</label>
     <label>Author</label>
    <format>[[BlogAuthors/{{#invoke:String|replace|{{{name}}}| |}}|{{{name}}}]]</format>
   </data>
   </data>
   <data source="contact">
   <data source="contact">
     <label>Contact</label>
     <label>Contact</label>
   </data>
   </data>
  <group layout="horizontal">
     <data source="role1">
     <data source="role1">
       <label>{{{role1}}}</label>
       <label>{{{role1}}}</label>
       <format>{{{org1}}}</label>
       <format>{{{org1}}}</format>
     </data>
     </data>
     <data source="role2">
     <data source="role2">
       <label>{{{role2}}}</label>
       <label>{{{role2}}}</label>
       <format>{{{org2}}}</label>
       <format>{{{org2}}}</format>
     </data>
     </data>
  </group>
</infobox>
</infobox>
<noinclude>
<noinclude>
Blog articles:
{{#dpl:
| linksto = {{FULLPAGENAME}}
}}
<templatedata>
<templatedata>
{
{
Line 26: Line 30:
"type": "string"
"type": "string"
},
},
"roles": {
"role1": {
"type": "content"
"type": "string"
},
"org1": {
"type": "string"
},
"role2": {
"type": "string"
},
"org2": {
"type": "string"
},
},
"picture": {
"picture": {

Latest revision as of 12:48, 29 May 2025


Blog articles:

No description.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
namename

no description

Stringoptional
role1role1

no description

Stringoptional
org1org1

no description

Stringoptional
role2role2

no description

Stringoptional
org2org2

no description

Stringoptional
picturepicture

no description

Example
headshot.jpg
Contentoptional
contactcontact

no description

Unknownoptional