AugusteVN.Modules.Sponsorships.Templates
1.0.7
dotnet add package AugusteVN.Modules.Sponsorships.Templates --version 1.0.7
NuGet\Install-Package AugusteVN.Modules.Sponsorships.Templates -Version 1.0.7
<PackageReference Include="AugusteVN.Modules.Sponsorships.Templates" Version="1.0.7" />
<PackageVersion Include="AugusteVN.Modules.Sponsorships.Templates" Version="1.0.7" />
<PackageReference Include="AugusteVN.Modules.Sponsorships.Templates" />
paket add AugusteVN.Modules.Sponsorships.Templates --version 1.0.7
#r "nuget: AugusteVN.Modules.Sponsorships.Templates, 1.0.7"
#:package AugusteVN.Modules.Sponsorships.Templates@1.0.7
#addin nuget:?package=AugusteVN.Modules.Sponsorships.Templates&version=1.0.7
#tool nuget:?package=AugusteVN.Modules.Sponsorships.Templates&version=1.0.7
AugusteVN.Modules.Sponsorships.Templates
Razor component templates for rendering sponsor segments in emails and web content.
Part of the AugusteVN Modules collection.
Components
SponsorSegmentTemplate
A reusable Razor component for rendering sponsor segment HTML within a styled container. Ships as a Razor Class Library — consume it from any Blazor or server-rendered project.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
Title |
string? |
No | Optional heading rendered as a bold italic label above the segment content |
SponsorSegmentHtml |
string |
Yes | Pre-rendered HTML content of the sponsor segment (injected via MarkupString) |
ChildContent |
RenderFragment? |
No | Optional additional content rendered after the segment body |
Usage
<SponsorSegmentTemplate Title="Sponsored by" SponsorSegmentHtml="@sponsorHtml">
<small>Learn more at example.com</small>
</SponsorSegmentTemplate>
Rendering
The template renders inside a <div> with a light background and subtle box shadow, suitable for inline sponsorship placement in email bodies, blog footers, or sidebar widgets:
- If
Titleis provided, it renders as a bold italic<small>label SponsorSegmentHtmlis injected as raw HTML viaMarkupStringChildContentis rendered below the segment body when present
Installation
dotnet add package AugusteVN.Modules.Sponsorships.Templates
Full Documentation
See the Sponsorships Module README for complete documentation.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Microsoft.AspNetCore.Components.Web (>= 10.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on AugusteVN.Modules.Sponsorships.Templates:
| Package | Downloads |
|---|---|
|
AugusteVN.Modules.Sponsorships._Shared.Spa
Blazor components for sponsor display and management |
GitHub repositories
This package is not used by any popular GitHub repositories.