Template:BlogAuthor: Difference between revisions

From Portland NET Wiki
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": {