Editing Template:Suggestion/Record
From PCSAR
Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Current revision | Your text | ||
Line 1: | Line 1: | ||
<noinclude>{{documentation}}</noinclude><includeonly><!-- | <noinclude>{{documentation}}</noinclude><includeonly><!-- | ||
- | + | If this page is a compendium of transcluded suggestions, don't mark it | |
+ | as a suggestion, so the suggestions won't be duplicated in the category. | ||
+ | |||
+ | -->{{#ifexpr: {{#ask: [[{{FULLPAGENAME}}]] [[Category:Suggestion compendium]] | format=count }}<!-- | ||
+ | |||
+ | -->|<!-- | ||
+ | -->|<!-- | ||
+ | |||
+ | -->{{not in template|[[Category:Suggestion]]}}<!-- | ||
+ | |||
+ | |||
+ | associate this suggestion with a suggestion list | ||
+ | |||
+ | -->{{property set|Suggestion list|<!-- | ||
+ | |||
+ | Use the parent unless the parent is "Sug", then it's the grandparent. | ||
+ | |||
+ | -->{{#ifeq:{{#titleparts:{{FULLPAGENAME}}|-1|-2}}|Sug<!-- | ||
+ | |||
+ | -->|{{#titleparts:{{FULLPAGENAME}}|-2}}<!-- | ||
+ | |||
+ | -->|{{#titleparts:{{FULLPAGENAME}}|-1}}<!-- | ||
+ | |||
+ | -->}}<!-- | ||
+ | |||
+ | -->}}<!-- | ||
+ | |||
+ | -->}}<!-- | ||
-->{{Suggestion/Record/Core<!-- | -->{{Suggestion/Record/Core<!-- | ||
Line 44: | Line 71: | ||
-->}}<!-- | -->}}<!-- | ||
+ | |||
+ | blank lines | ||
+ | |||
+ | --><br /><!-- | ||
+ | |||
+ | --><span id="sug{{{#|{{{1}}}}}}"><!-- | ||
+ | |||
+ | -->'''Suggestion #{{{#|{{{1|}}}}}}:'''<!-- | ||
+ | |||
+ | --></span> <!-- | ||
+ | |||
+ | -->{{{description|{{{2|}}}}}}<!-- | ||
+ | |||
+ | --> | ||
+ | : '''Committee handling:''' {{Suggestion/Committee|{{{committee|{{{cmte|}}}}}}}}<!-- | ||
+ | -->{{#if: {{{person|}}} |<nowiki/> ({{Suggestion/Person|{{{person}}}}})}} | ||
+ | : '''Value to PCSAR mandate:''' {{Suggestion/Value|{{{value|{{{val|}}}}}}}} | ||
+ | : '''Difficulty to implement:''' {{Suggestion/Difficulty|{{{difficulty|{{{dif|}}}}}}}}<!-- | ||
+ | |||
+ | # properties: | ||
+ | -->{{property set|Sequence number|<!-- | ||
+ | |||
+ | |||
+ | The # argument, if we have it | ||
+ | |||
+ | -->{{#if:{{{#|}}}|{{{#}}}|<!-- | ||
+ | |||
+ | Argument 1, if we have it | ||
+ | |||
+ | -->{{#if:{{{1|}}}|{{{1}}}|<!-- | ||
+ | |||
+ | If we don't have either of those arguments, try normalizing the | ||
+ | last segment of the page number. | ||
+ | |||
+ | If that's not a number, use empty string -- don't set property | ||
+ | |||
+ | -->{{#iferror:<!-- | ||
+ | |||
+ | normalize number | ||
+ | |||
+ | -->{{#expr:0+{{#titleparts:{{FULLPAGENAME}}||-1}}}}<!-- | ||
+ | |||
+ | -->}}<!-- | ||
+ | |||
+ | -->}}<!-- | ||
+ | |||
+ | -->}}<!-- | ||
+ | |||
+ | -->}}<!-- | ||
+ | -->{{property set|Description|{{{description|{{{2|}}}}}}}}<!-- | ||
+ | -->{{property set|Full page name|{{FULLPAGENAME}}}}<!-- | ||
+ | |||
+ | --><br /><!-- | ||
--></includeonly> | --></includeonly> |