Template:Report/Block

From PCSAR

(Difference between revisions)
Jump to: navigation, search
Current revision (05:49, 20 March 2014) (edit) (undo)
 
(9 intermediate revisions not shown.)
Line 2: Line 2:
-->{{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.''}}<!--
-->{{#if: {{{Stale|}}}|''Changes were made after the report was last run; the report is stale.''}}<!--
-
-->{{standout box<!--
+
-->{{#if: {{{Missing|}}}<!--
 +
 
 +
-->|''This report has not yet been created.''<!--
-->|<!--
-->|<!--
-
-->{{#switch: {{{Signed}}}
+
-->{{standout box|colour=white<!--
-
| yes = Signed by
+
-
| declined = Signature ''declined'' by
+
-
| pending = Signature ''pending'' for
+
-
| #default = error
+
-
}}<!--
+
-
-->{{~}}<!--
+
-->|<!--
 +
A copy of the report.
-
Insert the "[Edit]" link.
+
-->{{ :{{{Report page}}} }}<!--
-
 
+
-
-->{{#if: {{{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:{{{Report page}}}|action=edit&preload=Template:Signature/Boilerplate&editintro=}}<!--
+
-
 
+
-
A space separates the URL from the link text
+
-
 
+
-
--> <!--
+
-
 
+
-
What text to display.
+
-
 
+
-
-->edit<!--
+
-
 
+
-
-->]]<!--
+
-
 
+
-
--></span><!--
+
-
 
+
-
--></span><!--
+
-
 
+
-
-->}}<!--
+
-
 
+
-
A copy of the report.
+
-
-->{{ {{{Report page}}} }}<!--
+
-->}}<!--
-->}}<!--
-->}}<!--

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