Template:Source-Layout2: Difference between revisions
Template page
More actions
use dir parser function |
add |
||
| Line 1: | Line 1: | ||
{| class="layouttemplate sourcetemplate" style="background-color: #f6f7f5; background-color: var(--background-color-neutral-subtle, #f6f7f5); color: var(--color-base, #202122); border: var(--border-subtle, 1px solid #555555); border-spacing: 8px; clear: both; margin: .5em auto; text-align: center; width: 100%;" dir="{{#dir:{{{lang|{{int:lang}}}}}}}" lang="{{{lang|{{int:Lang}}}}}" | {| class="layouttemplate sourcetemplate" style="background-color: #f6f7f5; background-color: var(--background-color-neutral-subtle, #f6f7f5); color: var(--color-base, #202122); border: var(--border-subtle, 1px solid #555555); border-spacing: 8px; padding:0; box-sizing: border-box; clear: both; margin: .5em auto; text-align: center; width: 100%;" dir="{{#dir:{{{lang|{{int:lang}}}}}}}" lang="{{{lang|{{int:Lang}}}}}" | ||
| {{{2| [[File:Service mark.svg|100px]] }}} | | {{{2| [[File:Service mark.svg|100px]] }}} | ||
| style="text-align: {{{TextAlign|center}}};" | {{{1| Example }}}<br>{{{ExemptFromTag|<small>{{Copyright-tag-still-required}}</small>}}} | | style="text-align: {{{TextAlign|center}}};" | {{{1| Example }}}<br>{{{ExemptFromTag|<small>{{Copyright-tag-still-required}}</small>}}} | ||
Revision as of 03:59, 25 August 2025
| Example This tag does not indicate the copyright status of the attached work. A normal copyright tag is still required. See Commons:Licensing. |
This documentation is transcluded from Template:Source-Layout2/doc.
Formatting template meant to provide a uniform style for source templates
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Source | 1 | The name of the source
| String | suggested |
| Image | 2 | An image or logo
| String | suggested |
| TextAlign | TextAlign | Alignment of the text
| String | optional |
| ExemptFromTag | ExemptFromTag | Override the default notice about needing a copyright tag
| String | optional |