Jump to content

Template:ImportedFrom: Difference between revisions

From Z31 Library
CleanupBot (talk | contribs)
Default banner now says page was mechanically converted from an archived copy of the named site (uses site/title/archive/url/fetched that all 325 callers pass); LLM wording only with llm=yes; remove #if calls that rendered literally (no ParserFunctions)
CleanupBot (talk | contribs)
Reword to 'archived copy of {title} ({site}, fetched {date})' so it reads naturally when title equals site name (no #if available)
 
Line 1: Line 1:
<onlyinclude><includeonly><div class="z31-imported" style="border: 1px solid #cc9; background: #ffd; padding: 0.5em 1em; margin: 0 0 1em 0; font-size: 0.95em;">
<onlyinclude><includeonly><div class="z31-imported" style="border: 1px solid #cc9; background: #ffd; padding: 0.5em 1em; margin: 0 0 1em 0; font-size: 0.95em;">
'''Imported page.''' This page was converted from an archived copy of ''[{{{archive|{{{url|}}}}}} {{{title|the original page}}}]'' on {{{site|an external site}}} (fetched {{{fetched|date unknown}}}). The conversion was mechanical, so tables, links and formatting may contain conversion artefacts. Compare against the archived copy if something looks wrong. The content belongs to its original authors.
'''Imported page.''' This page was converted from an archived copy of "[{{{archive|{{{url|}}}}}} {{{title|the original page}}}]" ({{{site|external site}}}, fetched {{{fetched|date unknown}}}). The conversion was mechanical, so tables, links and formatting may contain conversion artefacts. Compare against the archived copy if something looks wrong. The content belongs to its original authors.
<div class="z31-imported-llm" style="display:{{{llm|none}}}; margin-top: 0.4em;">'''Note:''' the text of this page was synthesized by an LLM and has not been hand-verified. Please correct errors and remove <code>llm=yes</code> once reviewed.</div>
<div class="z31-imported-llm" style="display:{{{llm|none}}}; margin-top: 0.4em;">'''Note:''' the text of this page was synthesized by an LLM and has not been hand-verified. Please correct errors and remove <code>llm=yes</code> once reviewed.</div>
</div>[[Category:Auto-imported]]</includeonly></onlyinclude>
</div>[[Category:Auto-imported]]</includeonly></onlyinclude>

Latest revision as of 22:14, 20 October 2026


Template:ImportedFrom[edit]

Banner placed at the top of pages converted from archived copies of external sites.

Usage[edit]

{{ImportedFrom|site=Xenonzcar|title=Z31 Nut and Bolt List|url=https://…|archive=https://…|fetched=2026-05-15}}
Parameter Meaning
site Name of the original site (e.g. Xenonzcar, Z31info)
title Title of the original page; used as the link text
archive URL of the archived copy on this server (link target)
url Original URL; used as the link target if archive is not given
fetched Date the copy was fetched
llm Set llm=yes only if the page text was written by an LLM rather than converted. This adds a "not hand-verified" note. Leave it out for mechanical site conversions.

Implementation note: this wiki does not have the ParserFunctions extension installed, so #if is unavailable. The LLM note is hidden with display:none when llm is not set; llm=yes turns that into an invalid CSS value, so the note shows. Because of this, any value of llm (even llm=no) shows the note, so omit the parameter instead. The old positional origin argument and category= parameter relied on #if, which never rendered, and no page uses them, so they were removed (2026-10-20).