Jump to content

Template:ImportedFrom: Difference between revisions

From Z31 Library
Add ImportedFrom template
 
Create {{ImportedFrom}} banner for auto-imported pages
 
Line 1: Line 1:
<div style="border:1px solid #888; background:#f0f4f0; padding:6px 10px; margin-bottom:8px; font-size:90%;">
<onlyinclude><includeonly>
'''Imported from {{{site|?}}}''' &mdash; original title: ''{{{title|?}}}''<br>
<div class="z31-imported" style="border: 1px solid #cc9; background: #ffd; padding: 0.5em 1em; margin: 0 0 1em 0; font-size: 0.95em;">
Source: [{{{url|}}} {{{url|}}}] (fetched {{{fetched|?}}}) &middot; Local archive: [{{{archive|}}} view original page on dev.z31library.com]
'''Auto-imported article.''' This page was generated by the Z31 Library import pipeline from {{{1|forum sources}}}{{#if: {{{category|}}} | in category ''{{{category}}}'' | }}. The text was synthesized by an LLM and has not been hand-verified. Please correct errors and remove this banner once reviewed.
</div><noinclude>
</div>
This template wraps imported external-site content with attribution + archive link.
[[Category:Auto-imported]]{{#if: {{{category|}}} | [[Category:Auto-imported — {{{category}}}]] | }}
</includeonly></onlyinclude>
<noinclude>
== Template:ImportedFrom ==


Parameters: site, title, url, archive, fetched (YYYY-MM-DD).
Banner placed at the top of auto-imported articles to flag them as machine-generated.
[[Category:Templates]]
 
=== Usage ===
<pre>
{{ImportedFrom|3 source(s)|category=brakes}}
</pre>
 
The first positional argument is a human-readable origin descriptor. The named <code>category</code> parameter adds the page to a per-category review queue.
 
[[Category:Maintenance templates]]
</noinclude>
</noinclude>

Latest revision as of 17:29, 19 May 2026


Template:ImportedFrom[edit]

Banner placed at the top of auto-imported articles to flag them as machine-generated.

Usage[edit]

{{ImportedFrom|3 source(s)|category=brakes}}

The first positional argument is a human-readable origin descriptor. The named category parameter adds the page to a per-category review queue.