Template:Resource: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
This is the "Resource" template. | This is the "Resource" template. | ||
{{#cargo_declare:_table=Resources | {{#cargo_declare:_table=Resources | ||
| Title = String | | Title = String | ||
| Line 7: | Line 8: | ||
| Category = String | | Category = String | ||
| SourcePage = String | | SourcePage = String | ||
| TargetPage = String | |||
}} | }} | ||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
{{#cargo_store:_table=Resources | {{#cargo_store:_table=Resources | ||
| Title = {{{Title|}}} | | Title = {{#if: {{{Page|}}} | {{{Page}}} | {{{Title|}}} }} | ||
| URL = {{{URL|}}} | | URL = {{#if: {{{Page|}}} | ||
| {{fullurl:{{{Page}}}}} | |||
| {{{URL|}}} | |||
}} | |||
| Description = {{{Description|}}} | | Description = {{{Description|}}} | ||
| Category = {{{Category|}}} | | Category = {{{Category|}}} | ||
| SourcePage = {{FULLPAGENAME}} | | SourcePage = {{FULLPAGENAME}} | ||
| TargetPage = {{{Page|}}} | |||
}} | }} | ||
<div style="display:none;"> | <div style="display:none;"> | ||
{| class="wikitable" | {| class="wikitable" | ||
! Title | ! Title | ||
| {{{Title|}}} | | {{#if: {{{Page|}}} | {{{Page}}} | {{{Title|}}} }} | ||
|- | |- | ||
! URL | ! URL | ||
| [{{{URL|}}} {{{URL|}}}] | | {{#if: {{{Page|}}} | ||
| [{{fullurl:{{{Page}}}}} {{fullurl:{{{Page}}}}}] | |||
| [{{{URL|}}} {{{URL|}}}] | |||
}} | |||
|- | |- | ||
! Description | ! Description | ||