Template:Project test: Difference between revisions

From RevSpace
Jump to navigation Jump to search
(experimenting with changing the project template without messing with the live template)
 
No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
Include something like this in a page to make it a project page:
Include something like this in a page to make it a project page:
{{Project_test
|Name=Example Project
|Status=In progress
|Contact=Contact person
|Contact1=Another Contact
|Picture=Logo.svg
|PictureSize=150x250px
|Description=Short description or caption for the picture
}}


</noinclude>
</noinclude>
<includeonly>
{| border="2" cellspacing="0" cellpadding="4" rules="all" style="float:right; clear:right; width:370px; margin:5px 0 1em 1em; border-collapse:collapse; font-size:95%; empty-cells:hide"
{| border="2" cellspacing="0" cellpadding="4" rules="all" style="float:right; clear:right; width:370px; margin:5px 0 1em 1em; border-collapse:collapse; font-size:95%; empty-cells:hide"
|- style="background: {{Style|header}}; text-align:center;"
|- style="background: {{Style|header}}; text-align:center;"
! colspan=2| ''Project [[Project Name::{{PAGENAME}}|{{{Name}}}]]''  
! colspan=2| ''Project [[{{PAGENAME}}|{{{Name}}}]]''  
|-
 
| colspan=2 | {{
  #if: {{{Picture|}}}
  |[[Hoofdafbeelding::Afbeelding::File:{{{Picture}}}|350x550px]]
  |{{
    #ifexist: File:{{SUBPAGENAME}}_Project.jpg
    | [[Hoofdafbeelding::File:_{{SUBPAGENAME}}_Project.jpg|350x550px]]
    | [[Category:Projecten zonder afbeelding]]
    }}
  }}
|-
| colspan=2 |{{
#if: {{{Omschrijving|}}}
| ''[[Project Omschrijving::{{{Omschrijving}}}]]''


{{#if: {{{Picture|}}}
|{{!}}- {{!}} colspan=2 {{!}}[[File:{{{Picture}}}
|{{#if: {{{PictureSize|}}}|{{PictureSize}}}|350x550]]}}
}}
}}
|-
| colspan=2 |{{{Description}}}
|-
|-
| style="vertical-align:top" | Status
| style="vertical-align:top" | Status
Line 32: Line 36:
|[[Project Last Update::{{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY2}}]]
|[[Project Last Update::{{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY2}}]]
|-
|-
|}<includeonly>[[Category:Project|{{{Name}}}]]</includeonly>
|}
[[Category:Project|{{{Name}}}]]</includeonly>

Latest revision as of 17:14, 15 January 2016

Include something like this in a page to make it a project page:


Project Example Project


{{#if: Logo.svg

- | colspan=2 |[[File:Logo.svg Template:PictureSize}

}}

Short description or caption for the picture
Status In progress
Contact Contact person, Another Contact
Last Update 2016-01-15