Sin resumen de edición |
Sin resumen de edición |
||
Línea 15: | Línea 15: | ||
|{{{1|{{red|ERROR: No content was specified}} }}} | |{{{1|{{red|ERROR: No content was specified}} }}} | ||
|{{#if:{{{editlink|}}}{{{section|}}} | |{{#if:{{{editlink|}}}{{{section|}}} | ||
|{{#if:{{{ | |{{#if:{{{H2|}}} | ||
|{{#ifexist:{{FULLPAGENAME}}{{{1|}}} | |{{#ifexist:{{FULLPAGENAME}}{{{1|}}} | ||
|<!-- | |<!-- H2 subpage exists, show link to Nugget only, then transclude --><small>{{road|This content is transcluded from a [[Waze:Wazeopedia #Nuggets|nugget]] source [[File:Link.png|12px|text-top|link={{#ifeq:{{padleft:|1|{{{1|}}} }}|/| | ||
{{FULLPAGENAME}} | {{FULLPAGENAME}} | ||
}}{{{1}}}|link to nugget]]}}</small><br> | }}{{{1}}}|link to nugget]]}}</small><br> | ||
{{ {{{1|}}} }} | {{ {{{1|}}} }} | ||
|<!-- | |<!-- H2 subpage doesn't exist, show nothing, preload link will be in summary | ||
--> }}<!-- end ifexist subpage{{{1}}} --> | --> }}<!-- end ifexist subpage{{{1}}} --> | ||
|<!-- no {{{ | |<!-- no {{{H2}}}, is section or had {{{editlink}}} | ||
-- transclude content (will show red link if didn't exist) | -- transclude content (will show red link if didn't exist) | ||
--><br> | --><br> | ||
{{ {{{1|{{red|ERROR: No content was specified}} }}} }} | {{ {{{1|{{red|ERROR: No content was specified}} }}} }} | ||
}}<!-- end if | }}<!-- end if H2 --> | ||
|<!-- not a section and no {{{editlink}}} -->{{#if:{{{1|}}} | |<!-- not a section and no {{{editlink}}} -->{{#if:{{{1|}}} | ||
|{{#ifexist:{{FULLPAGENAME}}{{{1|}}} | |{{#ifexist:{{FULLPAGENAME}}{{{1|}}} | ||
|<!-- subpage exists, show only edit link --><small>{{road|This content is transcluded from a [[Waze:Wazeopedia #Nuggets|nugget]] source [[File:Edit.png|15px|text-top|link={{fullurl:{{#ifeq:{{padleft:|1|{{{1|}}} }}|/|{{FULLPAGENAME}}}}{{{1}}}|action=edit}}|edit nugget]]}}</small> | |<!-- subpage exists, show only edit link --><small>{{road|This content is transcluded from a [[Waze:Wazeopedia #Nuggets|nugget]] source [[File:Edit.png|15px|text-top|link={{fullurl:{{#ifeq:{{padleft:|1|{{{1|}}} }}|/|{{FULLPAGENAME}}}}{{{1}}}|action=edit}}|edit nugget]]}}</small> | ||
}} }}<!-- if no subpage don't show any link, so end ifexist | }} }}<!-- if no subpage don't show any link, so end ifexist | ||
-- then transclude (will show Red if didn't exist) for any page thats not a section or {{{editlink}}}. No check for {{{ | -- then transclude (will show Red if didn't exist) for any page thats not a section or {{{editlink}}}. No check for {{{H2}}} because all H2 are also section --><br> | ||
{{ {{{1|{{red|ERROR: No content was specified}} }}} }} | {{ {{{1|{{red|ERROR: No content was specified}} }}} }} | ||
}}<!-- end if editlink,section --> | }}<!-- end if editlink,section --> | ||
}}<!-- end if nt --> | }}<!-- end if nt --> | ||
</includeonly><noinclude>{{doc}}</noinclude> | </includeonly><noinclude>{{doc}}</noinclude> |
Revisión del 04:20 29 nov 2020
Documentación de la plantilla[crear]
</noinclude>
</noinclude> Por favor, añade las categorías en la subpágina de documentación. Subpáginas de esta plantilla.