Template:BlogAuthor: Difference between revisions

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