Template:Report/Block

From PCSAR

(Difference between revisions)
Jump to: navigation, search
Current revision (05:49, 20 March 2014) (edit) (undo)
 
(12 intermediate revisions not shown.)
Line 3: Line 3:
-->{{standout box|<!--
-->{{standout box|<!--
-
-->{{standout box<!--
+
--><p>'''Report: [[{{{Report page}}}|{{{Report name}}}]]'''</p><!--
-
-->|<!--
+
-->{{#if: {{{Stale|}}}|''Changes were made after the report was last run; the report is stale.''}}<!--
-
-->{{#switch: {{{Signed}}}
+
-->{{#if: {{{Missing|}}}<!--
-
| yes = Signed by
+
-
| declined = Signature ''declined'' by
+
-
| pending = Signature ''pending'' for
+
-
| #default = error
+
-
}}<!--
+
-
-->{{~}}<!--
+
-->|''This report has not yet been created.''<!--
-
-->[[{{{Signatory}}}]]<!--
+
-->|<!--
-
-->{{#if: {{{Date|}}} |{{~}}on {{{Date}}}}}<!--
+
-->{{standout box|colour=white<!--
-
-->.<!--
+
-->|<!--
-
Insert the "[Edit]" link.
+
A copy of the report.
-
-->{{#if: {{{Signature page|}}} <!--
+
-->{{ :{{{Report page}}} }}<!--
-
-->|<!--
+
-->}}<!--
-
 
+
-
Don't print it.
+
-
 
+
-
--><span class="noprint"><!--
+
-
 
+
-
-->{{~}}<!--
+
-
 
+
-
We have to use index.php parameters to a non-existing page.
+
-
Use an external link, but make it look as much like an internal link as we can.
+
-
 
+
-
Don't paint the external link fancy (no arrow).
+
-
 
+
-
--><span class="plainlinks"><!--
+
-
 
+
-
Create the external link
+
-
 
+
-
-->[[<!--
+
-
 
+
-
The URL marked up with parameters.
+
-
Parameters that aren't specified will be blank which defaults to no action.
+
-
 
+
-
-->{{fullurl:{{{Signature page}}}|action=edit&preload=Template:Signature/Boilerplate&editintro=}}<!--
+
-
 
+
-
A space separates the URL from the link text
+
-
 
+
-
--> <!--
+
-
 
+
-
What text to display.
+
-
 
+
-
-->edit<!--
+
-
 
+
-
-->]]<!--
+
-
 
+
-
--></span><!--
+
-
 
+
-
--></span><!--
+
-
 
+
-
-->}}<!--
+
-->}}<!--
-->}}<!--
-
 
-
-->{{#if: {{{Stale|}}}|''Changes were made after signing; signature is stale.''}}<!--
 
-->}}<!--
-->}}<!--
--></includeonly>
--></includeonly>

Current revision

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

Template:Report/Block/Doc:
Related Templates
Report on this page Show a report related to current page
Report/Page subst for a page about a Report
Report/Header standard header and attributes for a Report page
Report/Block Display a report in a page

The template {{Report/Block|Report page=...|Report name=...|Stale=...|Missing=}} displays information about a report and possibly its content.

This is an experimental template. See Sandbox/Error check


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

Personal tools