Documentation: Difference between revisions
/>Dinoguy1000-fduser hack support for custom documentation page locations |
/>Dinoguy1000-fduser when the /doc page doesn't exist, also make the "Visit Template:Foo/doc to edit this text!" link use the preload |
||
Line 9: | Line 9: | ||
}} | }} | ||
</div> | </div> | ||
<div style="clear: both; background: #ddd; color: #111; padding: 0.5em; margin: 0em; font-size: 85%; text-align: right;">Visit [[{{{1|{{FULLPAGENAME}}/doc}}}]] to edit this text! ([[Template:Documentation|How does this work]]?) ([{{fullurl:{{FULLPAGENAME}}|action=purge}} Refresh] this text - [[Help:Purge|why?]])</div> | <div style="clear: both; background: #ddd; color: #111; padding: 0.5em; margin: 0em; font-size: 85%; text-align: right;">Visit {{ #ifexist: {{{1|{{FULLPAGENAME}}/doc}}} | [[{{{1|{{FULLPAGENAME}}/doc}}}]] | [{{fullurl:{{{1|{{FULLPAGENAME}}/doc}}}|action=edit&preload=Template:Documentation/preload}} {{{1|{{FULLPAGENAME}}/doc}}}] }} to edit this text! ([[Template:Documentation|How does this work]]?) ([{{fullurl:{{FULLPAGENAME}}|action=purge}} Refresh] this text - [[Help:Purge|why?]])</div> | ||
</div> | </div> |
Revision as of 14:40, 22 November 2010
Template documentation (for the above template, sometimes hidden or invisible)
{{
#ifexist: Documentation/doc | Template:Tocright{{{{#ifeq: | Template | | :: }}{{ #if: | | Documentation/doc}} }} | :This template currently doesn't have any documentation! Help out by writing some. {{#ifeq:|Template|There may also be documentation on Wikia Templates which can be copied.}} }}
Visit {{ #ifexist: Documentation/doc | Documentation/doc | Documentation/doc }} to edit this text! (How does this work?) (Refresh this text - why?)