Template:BlogAuthor: Difference between revisions

From Portland NET Wiki
Infobox created with infobox builder.
 
remove article list because it showed up in blog articles themselves
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
<infobox><title source="title"><default>{{PAGENAME}}</default></title><image source="image"/><header>Header</header><data source="author"><label>Author</label></data><data source="roles"><label>Roles</label></data><data source="contact"><label>Contact</label></data></infobox>
<infobox layout="stacked">
  <header>About the Author</header>
  <image source="picture"/>
  <data source="name">
    <label>Author</label>
    <format>[[BlogAuthors/{{#invoke:String|replace|{{{name}}}| |}}|{{{name}}}]]</format>
  </data>
  <data source="contact">
    <label>Contact</label>
  </data>
    <data source="role1">
      <label>{{{role1}}}</label>
      <format>{{{org1}}}</format>
    </data>
    <data source="role2">
      <label>{{{role2}}}</label>
      <format>{{{org2}}}</format>
    </data>
</infobox>
<noinclude>
 
Blog articles:
{{#dpl:
| linksto = {{FULLPAGENAME}}
}}
<templatedata>
{
"params": {
"name": {
"type": "string"
},
"role1": {
"type": "string"
},
"org1": {
"type": "string"
},
"role2": {
"type": "string"
},
"org2": {
"type": "string"
},
"picture": {
"type": "content",
"example": "headshot.jpg"
},
"contact": {}
},
"format": "block"
}
</templatedata>
</noinclude>