Template:Signature/Block

From PCSAR

Revision as of 04:07, 24 August 2016 by Brett Wuth (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

This is the documentation for the template Template:Signature/Block

Template:Signature/Block/Doc:

The template {{Signature/Block|Signatory=person|Signed=|Signer=|Signed page=|Date=|Stale=|Comment=|Title=|Signed page=|Signature page=}} displays a signature block and allows a Template:Signature page to be created or edited.

These signature blocks are automatically displayed by Template:Sign and Template:Signature.

Signatory 
The person whose signature is sought.
Signed 
Whether the person has signed off. Should be one of yes, declined, or pending. Template:Signature/Signed/Parse can be used to parse various shortcuts.
Signer 
(optional) The person who signed. If different from Signatory, this person is signing on behalf of the Signatory. Defaults to the the Signatory.
Date 
(optional) Date the person signed.
Stale 
(optional) Any value indicates that changes were made after the signature was done.
Comment 
(optional) Any comment that should be associated with the signing.
Title 
(optional) What was signed.
Signed page 
(optional) The wiki page describing what was signed. E.g. the expense form.
Signature page 
(optional) The wiki page which records the Template:Signature. Should be of the form {{{Signed page}}}/Sign/{{{Signatory}}}.


You type... You get...
{{Signature/Block|Signatory=Brett Wuth|Signed=yes}}        
Signed by Brett Wuth.
{{Signature/Block|Signatory=Brett Wuth|Signed=declined}}        
Signature declined by Brett Wuth.
{{Signature/Block|Signatory=Brett Wuth|Signed=pending}}        
Signature pending for Brett Wuth.
{{Signature/Block|Signatory=Brett Wuth|Signed=yes|Signer=Diann Piwek}}        
Signed by Diann Piwek on behalf of Brett Wuth.
{{Signature/Block|Signatory=Brett Wuth|Signed=yes|Date=2012-11-10}}        
Signed by Brett Wuth on 2012-11-10.
{{Signature/Block|Signatory=Brett Wuth|Signed=yes|Stale=y}}        
Signed by Brett Wuth.
Changes were made after signing; signature is stale.
{{Signature/Block|Signatory=Brett Wuth|Signed=yes|Comment=under protest}}        
Signed by Brett Wuth with comment "under protest".
{{Signature/Block|Signatory=Brett Wuth|Signed=yes|Title=waiver}}        
Signing waiver
Signed by Brett Wuth.
{{Signature/Block|Signatory=Brett Wuth|Signed=yes|Signed page={{FULLPAGENAME}}}}        
Signing Template:Signature/Block
Signed by Brett Wuth.
{{Signature/Block|Signatory=Brett Wuth|Signed=pending|Signature page={{FULLPAGENAME}}/Sign/Brett Wuth}}        
Signature pending for Brett Wuth. [edit]
{{Signature/Block|Signatory=Brett Wuth|Signed=yes|Signer=Diann Piwek
                             |Date=2012-11-10|Stale=y|Comment=signed as verbally directed
                             |Title=waiver|Signed page={{FULLPAGENAME}}
                             |Signature page={{FULLPAGENAME}}/Sign/Brett Wuth}}        
Signing waiver
Signed by Diann Piwek on behalf of Brett Wuth on 2012-11-10 with comment "signed as verbally directed". [edit]
Changes were made after signing; signature is stale.


To see how this template is implemented, edit this page and examine the portion between <includeonly> and </includeonly>.

Personal tools